Replies: 3 comments
|
TLDR: Remove When your TSConfig files extends another and you set the So in your case, you're telling typescript to only include your global file in the project, and none of your source code. Look at As for the In general, you don't add |
|
Move to discussion, I'd say. Someone else may have same/similar question in the future. |
|
Maybe this can be helpful if anybody'll have similar problem in the future: |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
failed to define project owned typescript declaration
To Reproduce
in content script, import vue sfc file, and in sfc file import 'turndown'
turndown
try to declare module, and add to
<rootDir>/tsconfig.jsonin
<rootDir>/tsconfig.json,but results in more typescript errors
Expected behavior
Screenshots
All reactions