Skip to content

Add TypeScript declaration file#36

Open
younggglcy wants to merge 1 commit into
revin:masterfrom
younggglcy:add-typescript-declarations
Open

Add TypeScript declaration file#36
younggglcy wants to merge 1 commit into
revin:masterfrom
younggglcy:add-typescript-declarations

Conversation

@younggglcy
Copy link
Copy Markdown

This PR adds TypeScript type declarations for the package.

Changes

  • Added index.d.ts with type definitions for the plugin function and options
  • Added types field to package.json

Type Definitions

The declaration file exports:

  • TaskListsOptions interface with enabled, label, and labelAfter options
  • Default export for the plugin function

This allows TypeScript users to get proper type checking and IntelliSense when using this package.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant