Skip to content

Commit f49be42

Browse files
committed
Fix comment on GPUTexture.textureBindingViewDimension
1 parent 51f0423 commit f49be42

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dist/index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3307,7 +3307,10 @@ interface GPUTexture
33073307
* no such restriction.
33083308
*
33093309
* @todo Temporarily optional until all browsers have implemented it.
3310-
* Check support before using. (Use the non-null assertion operator `!` where needed.)
3310+
* It is safe to access on any browser, as it will just (correctly) return
3311+
* `undefined` if not implemented.
3312+
* Note `undefined` is always a valid value, even in browsers that implement
3313+
* this (so be careful if using the non-null assertion operator `!` on this).
33113314
*/
33123315
readonly textureBindingViewDimension?:
33133316
| GPUTextureViewDimension

0 commit comments

Comments
 (0)