Skip to content

What is place in module lookup #678

Open
@Aryan3212

Description

@Aryan3212

https://basarat.gitbook.io/typescript/project/modules/external-modules#what-is-place

else if the place is a folder and there is a foo/package.json and a file specified in the types key in the package.json that exists, then hurray!
else if the place is a folder and there is a package.json and a file specified in the main key in the package.json that exists, then hurray!
Does the second line here (4th in the book) imply foo/package.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