website hosted
This commit is contained in:
13
node_modules/stream-replace-string/index.d.ts
generated
vendored
Normal file
13
node_modules/stream-replace-string/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Transform, Readable } from 'stream';
|
||||
|
||||
interface Options {
|
||||
limit?: number;
|
||||
bufferReplaceStream?: boolean;
|
||||
}
|
||||
|
||||
type ReplaceStr = string | Promise<string>;
|
||||
type ReplacerFunc = (matches?: number) => ReplaceStr;
|
||||
|
||||
declare function replace(searchStr: string, replaceWith: ReplaceStr | ReplacerFunc | Readable, options?: Options): Transform;
|
||||
|
||||
export default replace;
|
||||
Reference in New Issue
Block a user