Skip to content

Incorrect types path in package.json #236

@spublika64

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions