add hw2
This commit is contained in:
16
node_modules/get-uri/dist/data.d.ts
generated
vendored
Normal file
16
node_modules/get-uri/dist/data.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import { Readable } from 'stream';
|
||||
import { GetUriProtocol } from './';
|
||||
declare class DataReadable extends Readable {
|
||||
hash?: string;
|
||||
constructor(hash: string, buf: Buffer);
|
||||
}
|
||||
export interface DataOptions {
|
||||
cache?: DataReadable;
|
||||
}
|
||||
/**
|
||||
* Returns a Readable stream from a "data:" URI.
|
||||
*/
|
||||
export declare const data: GetUriProtocol<DataOptions>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user