Skip to content

Publish .js and .d.ts files on npmjs instead of .ts. #55

@drewsilcock

Description

@drewsilcock

See microsoft/TypeScript#15363.

Currently this package publishes .ts files in the package on npmjs, so that rules like noImplicitAny get picked up when you import { ... } from "api-ai-javascript".

The recommendation is to instead publish .js files with the corresponding .d.ts files. See the link at the top of this comment for the issue thread on the TypeScript repo about this.

An example of another repo that has made this change to their TS project publishing: Goyoo/node-k8s-client#37.

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