Closed davidsk closed 4 years ago
I did not see any warning, can you share your full terminal logs?
Also confirm, in v1.3.1 index.d.ts is blank in dist folder
We know is blank. Because the setup is converted to use typescript compiler but no code is converted from js to ts yet.
My question is where is the warning? Pls show some screenshots.
It shows up in the problems tab in the vscode console, I'll post a screenshot shortly.
I see this in WebStorm in aurelia_project/tasks/run.ts
I see, that is kind of expected, because there is no typing from the code. Unless we
Interestly, removing the index.d.ts file can silent the vscode. I will try to move lib/index.ts
back to lib/index.js
to prevent tsc to generate the empty d.ts file.
Removed empty index.d.ts file. Will be shipped in next version release.
I'm submitting a bug report
Please tell us about your environment:
Operating System: Windows 10
Node Version: 8.11.3
NPM Version: 6.11.1
Browser: n/a
Language: TypeScript 3.8.3
Loader/bundler: RequireJS
Current behavior: index.d.ts is blank but is used as a source for many imports in a cli project. This is generating a warning when using the
au run
commandWhat is the expected behavior? index.d.ts should contain the correct definitions
What is the motivation / use case for changing the behavior? It's incorrect and generates warnings