gpuweb / cts

WebGPU Conformance Test Suite
https://gpuweb.github.io/cts/
BSD 3-Clause "New" or "Revised" License
119 stars 72 forks source link

Don't automatically include all types from dependencies #3704

Closed kainino0x closed 1 month ago

kainino0x commented 1 month ago

This produces an error if you try to use something from a global scope accidentally. It's only needed for "ambient" definitions; if the thing is included directly (like for all of the Node libraries like fs) then its types come along with it automatically.

Also:

Issue: #3702


Requirements for PR author:

Requirements for reviewer sign-off:

When landing this PR, be sure to make any necessary issue status updates.