Skip to content

Include types in the npm package #40

Description

@GoodBoyNinja

Hey, the NPM package version seems to be missing the types even though the GitHub repo has them.
All I did to fix it locally was adding:

 "types": "types/main-prod.d.ts",

to package.json, and then copied over the entire contents of the types directory from the repo into node_modules/phaser-box2d/types.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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