brieb / ts-issue--ts7016

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript@~3.8

$ rm -rf build && yarn tsc -b tsconfig.soln.json 
yarn run v1.22.4
$ .../node_modules/.bin/tsc -b tsconfig.soln.json
projects/proj-03/index.ts:1:20 - error TS7016: Could not find a declaration file for module ':proj-02/foo'. '.../ts-issue--TS7016/projects/proj-02/foo.js' implicitly has an 'any' type.

1 import proj02 from ":proj-02/foo";
                     ~~~~~~~~~~~~~~


Found 1 error.

error Command failed with exit code 2.

typescript@~3.9

$ rm -rf build && yarn tsc -b tsconfig.soln.json 
yarn run v1.22.4
$ .../node_modules/.bin/tsc -b tsconfig.soln.json
✨  Done in 1.05s.

About


Languages

Language:TypeScript 91.7%Language:JavaScript 8.3%