Skip to content

tide does not pick up .d.ts file in tsconfig.json #37

@NhanHo

Description

@NhanHo

It seems like when I specify a .d.ts file in tsconfig.json (with "files" setting), tide doesn't pick it up and will complain (Cannot find name ...), even though tsc will work fine with such setting.

Right now, I have to manually add /// <reference path="" /> in every individual files to make it work, but it's very inconvenient, and it seems to me it will be an issue with larger project with multiple .d.ts files in the source. Is it a bug or expected behaviour by tide?

Taking a look over to other editors, I think all of them are supposedly picking up definitions in .d.ts given that is specified in "files" of tsconfig.json

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