Преглед изворни кода

chore: remove no longer needed shim for stream/web

Evan You пре 4 година
родитељ
комит
38b977dad5
1 измењених фајлова са 1 додато и 7 уклоњено
  1. 1 7
      packages/global.d.ts

+ 1 - 7
packages/global.d.ts

@@ -33,12 +33,6 @@ declare module 'file-saver' {
   export function saveAs(blob: any, name: any): void
   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' {
 declare module '@vue/repl' {
   import { ComponentOptions } from '@vue/runtime-core'
   import { ComponentOptions } from '@vue/runtime-core'
   const Repl: ComponentOptions
   const Repl: ComponentOptions
@@ -50,5 +44,5 @@ declare interface String {
   /**
   /**
    * @deprecated Please use String.prototype.slice instead of String.prototype.substring in the repository.
    * @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
 }
 }