summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-08-06 03:00:32 -0700
committerGitHub <noreply@github.com>2024-08-06 15:30:32 +0530
commitc0e9512b39a4ed3713d1fd9b28469d0edf68f578 (patch)
tree48194976942488e9ded45464e76cef943db5dedb /cli/tsc
parent7f6b484684279b643d8ed6374bed0b92b3038b50 (diff)
BREAKING(webgpu/unstable): Replace async .requestAdapterInfo() with sync .info (#24783)
Closes https://github.com/denoland/deno/issues/24779 Ref https://github.com/gpuweb/gpuweb/pull/4662
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno_webgpu.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno_webgpu.d.ts b/cli/tsc/dts/lib.deno_webgpu.d.ts
index 12ef5e6c5..944af0e4c 100644
--- a/cli/tsc/dts/lib.deno_webgpu.d.ts
+++ b/cli/tsc/dts/lib.deno_webgpu.d.ts
@@ -123,10 +123,10 @@ declare type GPUPowerPreference = "low-power" | "high-performance";
declare class GPUAdapter {
readonly features: GPUSupportedFeatures;
readonly limits: GPUSupportedLimits;
+ readonly info: GPUAdapterInfo;
readonly isFallbackAdapter: boolean;
requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
- requestAdapterInfo(): Promise<GPUAdapterInfo>;
}
/**