Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TypeScript type definitions file based on @types/gl. #308

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

null77
Copy link

@null77 null77 commented Jan 13, 2025

@dhritzkiv another small one, that will make migrating to WebGL 2 easier when using headless-gl with a typescript project.

@dhritzkiv
Copy link
Member

The package.json should gain a "types" field pointing at the new TS definition file.

Separately, we'll have to deprecate the @types/gl package.

@null77 null77 force-pushed the add-ts-type-definitions branch from 62f12f0 to 19f48c1 Compare January 13, 2025 20:20
@null77
Copy link
Author

null77 commented Jan 13, 2025

The package.json should gain a "types" field pointing at the new TS definition file.

Done.

Separately, we'll have to deprecate the @types/gl package.

Agreed.

@dhritzkiv dhritzkiv merged commit f038e77 into stackgl:master Jan 13, 2025
0 of 9 checks passed
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.

2 participants