]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove no longer needed shim for stream/web
authorEvan You <yyx990803@gmail.com>
Sun, 12 Dec 2021 02:12:09 +0000 (10:12 +0800)
committerEvan You <yyx990803@gmail.com>
Sun, 12 Dec 2021 02:12:20 +0000 (10:12 +0800)
packages/global.d.ts

index 65693b1f60db6cd99ab953572e867a9a21dabc80..5992d0840d1254b2c48ef78c3dd3224eddb6ff04 100644 (file)
@@ -33,12 +33,6 @@ declare module 'file-saver' {
   export function saveAs(blob: any, name: any): void
 }
 
-declare module 'stream/web' {
-  const r: typeof ReadableStream
-  const t: typeof TransformStream
-  export { r as ReadableStream, t as TransformStream }
-}
-
 declare module '@vue/repl' {
   import { ComponentOptions } from '@vue/runtime-core'
   const Repl: ComponentOptions
@@ -50,5 +44,5 @@ declare interface String {
   /**
    * @deprecated Please use String.prototype.slice instead of String.prototype.substring in the repository.
    */
-  substring(start: number, end?: number): string;
+  substring(start: number, end?: number): string
 }