Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Improve documentation of typeRoots #692

@ghost

Description

A lot of people seem to think it's necessary to specify typeRoots to import things -- e.g., microsoft/TypeScript#20610. Our documentation says that things in typeRoots are "included", which could cause people to think they need to "include" things to be able to import them, which isn't true -- imports go through module resolution, not typeRoots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions