-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
Relevant Version Numbers
- Tide: 20190614.1227
- TypeScript: 3.2.4
- Emacs: 26.2
Steps to Reproduce the Bug
- create file
html.d.tswith following content:
declare module '*.html';
- don't import file anywhere in the project but make sure it gets included in project build by configuring tsconfig.json
- import any
.htmlfile somewhere in project
Expected Behavior
Importing .html file works
Actual Behavior
Error Cannot find module './file-name.html'. [2307]
After opening file html.d.ts with Emacs errors are gone.
Importing .html files worked fine before upgrading tide. Could it be that upgrading tsserver broke something?
Also I have a similar problem with namespaces from some node_modules package. I get error first but after opening my Angular projects app.module.ts file (which imports practically everything else) namespace related errors are gone.
Metadata
Metadata
Assignees
Labels
No labels