Skip to content

Commit 699e18a

Browse files
author
Jake Champion
committed
docs: fix typo in DecompressionStream examples
1 parent 83a003e commit 699e18a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/globals.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,15 +904,15 @@ declare class DecompressionStream {
904904
/**
905905
* @example
906906
* ```js
907-
* let stream = new DeompressionStream("gzip");
907+
* let stream = new DecompressionStream("gzip");
908908
* console.log(stream.readable instanceof ReadableStream); // true
909909
* ```
910910
*/
911911
readonly readable: ReadableStream<Uint8Array>;
912912
/**
913913
* @example
914914
* ```js
915-
* let stream = new DeompressionStream("gzip");
915+
* let stream = new DecompressionStream("gzip");
916916
* console.log(stream.writable instanceof WritableStream); // true
917917
* ```
918918
*/

0 commit comments

Comments
 (0)