chore(graphics): update @webgpu/types to 0.1.70 and migrate deprecated type names#8912
Merged
Conversation
…d type names Updates @webgpu/types to the latest (0.1.70) and migrates WebGPU JSDoc type annotations off the names the package now marks as @deprecated. - Bump @webgpu/types from ^0.1.66 to ^0.1.70 (package.json + lockfile) - Replace GPUImageCopyTexture with GPUTexelCopyTextureInfo - Replace GPUImageDataLayout with GPUTexelCopyBufferLayout Type-only (JSDoc) changes with no runtime impact; the renamed types are exact aliases of the old ones.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates @webgpu/types to the latest (0.1.70) and migrates WebGPU JSDoc type annotations off the names the package now marks as @deprecated.
Changes:
@webgpu/typesfrom^0.1.66to^0.1.70(package.json + lockfile)GPUImageCopyTexture→GPUTexelCopyTextureInfo(webgpu-graphics-device.js ×4, webgpu-texture.js ×1)GPUImageDataLayout→GPUTexelCopyBufferLayout(webgpu-texture.js ×1)These are type-only (JSDoc) changes with no runtime impact — the underlying WebGPU API methods (
copyTextureToTexture,writeTexture, etc.) are unchanged. The renamed types are exact aliases of the old ones, so behavior is identical.