[Pkg-javascript-devel] Bug#930267: provide type definitions for node-ast-types

2019-06-09 Thread Pirate Praveen
Control: block -1 by 929829

It has these errors and more, so we will need babel 7 to proceed.

test/ecmascript.ts(6,29): error TS2307: Cannot find module '@babel/types'.
test/typescript.ts(4,66): error TS2307: Cannot find module '@babel/parser'.
types/esprima.d.ts(7,19): error TS2384: Overload signatures must all be
ambient or non-ambient.
types/esprima.d.ts(7,49): error TS2304: Cannot find name 'ParseOptions'.
types/esprima.d.ts(7,115): error TS2304: Cannot find name 'Program'.
../../../usr/lib/nodejs/@types/glob/index.d.ts(11,28): error TS2307:
Cannot find module 'minimatch'.



signature.asc
Description: OpenPGP digital signature
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] Bug#930267: provide type definitions for node-ast-types

2019-06-09 Thread Pirate Praveen

package: node-ast-types
version: 0.11.7-1
severity: wishlist
Control: block 930266 by -1

While trying to update node-recast to 0.18, tsc throws this error

lib/comments.ts(2,24): error TS7016: Could not find a declaration file 
for module 'ast-types'. '/usr/lib/nodejs/ast-types/main.js' implicitly 
has an 'any' type.
 Try `npm install @types/ast-types` if it exists or add a new 
declaration (.d.ts) file containing `declare module 'ast-types';`


--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel