Skip to content

Tries to load @types when package has included it's own #152

@MartynasZilinskas

Description

@MartynasZilinskas

image

I have noticed that it tries to load types from https://unpkg.com/@types/@simplr/react-forms-dom/index.d.ts.

Expected behavior:

  • Checks if package has types property and load from relative path reference
  • If it doesn't have it, try to load @types/*

Simple package example: react -> @types/react.
Scoped package example: @simplr/react-forms -> @types/simplr__react-forms reference

On side note: Can't wait for TypeScript support. Keep up the good work. 🎉

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