Skip to content

Resolving project files does not work anymore #323

@jvalkeejarvi

Description

@jvalkeejarvi

Relevant Version Numbers

  • Tide: 20190614.1227
  • TypeScript: 3.2.4
  • Emacs: 26.2

Steps to Reproduce the Bug

  • create file html.d.ts with 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 .html file 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions