chore: remove no longer needed shim for stream/web

This commit is contained in:
Evan You 2021-12-12 10:12:09 +08:00
parent 9ac0ddea4b
commit 38b977dad5

View 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
}