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 Test File #642

Open
jonobr1 opened this issue Jun 8, 2022 · 0 comments
Open

Add TypeScript Test File #642

jonobr1 opened this issue Jun 8, 2022 · 0 comments

Comments

@jonobr1
Copy link
Owner

jonobr1 commented Jun 8, 2022

Describe the solution you'd like
Two.js needs a test.ts file that attempts to use all the features available in Two.js in the ways they are intended to use. This is like the tests written in JavaScript, but for TypeScript. This will greatly improve the stability and accessibility for TypeScript developers by making the types.d.ts file accurately reflect the capabilities of Two.js.

Additional context
See Definitely Typed's approach for reference: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/two.js/two.js-tests.ts

@jonobr1 jonobr1 added this to the v0.8.x milestone Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant