Skip to content

Add missing types to package.json for "." case #23

@awhitford

Description

@awhitford

Related to issue #20 and #22, it appears that there is a missing types entry in the package.json for the "." case:

  "types": "./dist/index/index.d.ts",
  "exports": {
    ".": {
      "solid": "./dist/index/index.jsx",
      "import": "./dist/index/index.module.js",
      "browser": "./dist/index/index.module.js",
      "require": "./dist/index/index.common.js",
      "node": "./dist/index/index.common.js",
      "types": "./dist/index/index.d.ts"
    },

The last types is presently missing.
If I manually add that, then my ts(7016) issue goes away.

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