Skip to content

Incorrect types path in package.json #236

Description

@spublika64

The types field in package.json points to a non-existent path:

Current (incorrect):

"types": "dist/types/src/index.d.ts"

Actual location:

dist/types/index.d.ts

This causes TypeScript to fail resolving type declarations with error:

TS7016: Could not find a declaration file for module '@contentstack/utils'

Fix needed:

"types": "dist/types/index.d.ts"

Tested with version 1.6.1.

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