[Pkg-javascript-devel] Bug#930269: Install .ts files also for building node-ast-types 0.12.3

Pirate Praveen praveen at onenetbeyond.org
Sun Jun 9 15:32:04 BST 2019


package: node-esprima
version: 4.0.1+ds-1
severity: wishlist
Control: block 930267 by -1

tsc throws this error,

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



More information about the Pkg-javascript-devel mailing list