Skip to content

[Feature Request] Add a CLI flag "--no-exports" to prevent any "export" declarations in the generated file #298

@idmedia-kaiser

Description

@idmedia-kaiser

Feature Request

Add a CLI flag "--no-exports", or similar to prevent any "export" declarations.

This would allow it to use the created file as a ambient declaration file.

And you would not need to explicitly import the interfaces

tsconfig.js

{
"include": ["contentstack-types.d.ts"]
}

And all interfaces are globally available

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