Skip to content

TypeScript: Add d.ts in npm #70

@azu

Description

@azu

From #68

This change only does rewrite codes with TypeScript. To publish d.ts in npm, we need push more patch onto this.

Can we use resolve this issue by using babel --copy-files option?

  • add types field in pacakge.json
  • add *d.ts files to lib/

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