Skip to content

fix: correct KTX2Loader.dispose declaration#2140

Merged
Methuselah96 merged 1 commit into
three-types:masterfrom
eunjiyun:fix-ktx2loader-dispose-return
May 9, 2026
Merged

fix: correct KTX2Loader.dispose declaration#2140
Methuselah96 merged 1 commit into
three-types:masterfrom
eunjiyun:fix-ktx2loader-dispose-return

Conversation

@eunjiyun
Copy link
Copy Markdown
Contributor

@eunjiyun eunjiyun commented May 7, 2026

Summary

Fix declaration for KTX2Loader.dispose().

Evidence

JS implementation:

  • three.js/examples/jsm/loaders/KTX2Loader.js:496

Declaration:

  • types/three/examples/jsm/loaders/KTX2Loader.d.ts:57

Observed mismatch:

  • The declaration returned this but the implementation does not return a value.

Local Check

  • Checked the declaration diff manually.
  • pnpm test failed: unrelated ESLint plugin error.

Scope

  • Declaration file only
  • No runtime change
  • Single API only

@Methuselah96 Methuselah96 merged commit b06664a into three-types:master May 9, 2026
11 of 12 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