Skip to content

Add typescript type definitions (.d.ts)#19

Open
nathan-charrois wants to merge 2 commits into
KilledByAPixel:masterfrom
nathan-charrois:nate/add-type-definitions
Open

Add typescript type definitions (.d.ts)#19
nathan-charrois wants to merge 2 commits into
KilledByAPixel:masterfrom
nathan-charrois:nate/add-type-definitions

Conversation

@nathan-charrois
Copy link
Copy Markdown

Adds typescript declaration file for ZzFX with no runtime changes

Changes

  • Type definitions for zzfx function
  • Type definitions for ZZFX and ZZFXSound classes

Testing

  • Verified in a separate typescript project in strict mode

Examples
Screenshot 2026-03-17 at 2 05 20 PM

Screenshot 2026-03-17 at 2 07 17 PM

Screenshot 2026-03-17 at 2 07 58 PM

@nathan-charrois nathan-charrois marked this pull request as ready for review March 17, 2026 21:08
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