Skip to content

Conversation

@caseycarroll
Copy link

Closes #223

What

Adds type declaration file for each core package.

Why

TypeScript consumers of makeup-js must provide ambient module declarations for makeup exports.

How

I used an LLM to consider the README and implementations of each export to infer correct type definitions. Definitions are documented via TSDoc conventions.

Types are included in /dist dir of each package. Each package config defines "types" to point to its respective type file.

Ideal solution involves migrating libraries to TS. The team plans to migrate to new repo in the future, so this low effort patch seems more appropriate.

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.

Add module type declaration for makeup-focusables

1 participant