diff options
Diffstat (limited to 'ext/web/lib.deno_web.d.ts')
-rw-r--r-- | ext/web/lib.deno_web.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/web/lib.deno_web.d.ts b/ext/web/lib.deno_web.d.ts index d28e33f58..3ebc9af49 100644 --- a/ext/web/lib.deno_web.d.ts +++ b/ext/web/lib.deno_web.d.ts @@ -1124,10 +1124,10 @@ declare var MessagePort: { * * @category DOM APIs */ -declare function structuredClone( - value: any, +declare function structuredClone<T = any>( + value: T, options?: StructuredSerializeOptions, -): any; +): T; /** * An API for compressing a stream of data. |