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

Fix KTX2Loader TS type to match the JS code #703

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

svignaud
Copy link
Contributor

KTX2Loader TS type derives from CompresssedTextureLoader, and overrides its parse method. The actual JS code derives KTX2Loader from Loader and overrides its load method. This change will fix this mismatch.

KTX2Loader TS type derives from CompresssedTextureLoader, and overrides its parse method.
The actual JS code derives KTX2Loader from Loader and overrides its load method.
This change will fix this mismatch.
Copy link
Contributor

@Methuselah96 Methuselah96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

types/three/examples/jsm/loaders/KTX2Loader.d.ts Outdated Show resolved Hide resolved
types/three/examples/jsm/loaders/KTX2Loader.d.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@Methuselah96 Methuselah96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Methuselah96 Methuselah96 merged commit a16eabe into three-types:master Dec 11, 2023
3 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