inital
This commit is contained in:
11
node_modules/liquidjs/dist/emitters/emitter.d.ts
generated
vendored
Normal file
11
node_modules/liquidjs/dist/emitters/emitter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export interface Emitter {
|
||||
/**
|
||||
* Write a html value into emitter
|
||||
* @param html string, Drop or other primitive value
|
||||
*/
|
||||
write(html: any): void;
|
||||
/**
|
||||
* Buffered string
|
||||
*/
|
||||
buffer: string;
|
||||
}
|
4
node_modules/liquidjs/dist/emitters/index.d.ts
generated
vendored
Normal file
4
node_modules/liquidjs/dist/emitters/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './emitter';
|
||||
export * from './simple-emitter';
|
||||
export * from '../build/streamed-emitter-browser';
|
||||
export * from './keeping-type-emitter';
|
5
node_modules/liquidjs/dist/emitters/keeping-type-emitter.d.ts
generated
vendored
Normal file
5
node_modules/liquidjs/dist/emitters/keeping-type-emitter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Emitter } from './emitter';
|
||||
export declare class KeepingTypeEmitter implements Emitter {
|
||||
buffer: any;
|
||||
write(html: any): void;
|
||||
}
|
5
node_modules/liquidjs/dist/emitters/simple-emitter.d.ts
generated
vendored
Normal file
5
node_modules/liquidjs/dist/emitters/simple-emitter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Emitter } from './emitter';
|
||||
export declare class SimpleEmitter implements Emitter {
|
||||
buffer: string;
|
||||
write(html: any): void;
|
||||
}
|
9
node_modules/liquidjs/dist/emitters/streamed-emitter.d.ts
generated
vendored
Normal file
9
node_modules/liquidjs/dist/emitters/streamed-emitter.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
/// <reference types="node" />
|
||||
import { Emitter } from './emitter';
|
||||
export declare class StreamedEmitter implements Emitter {
|
||||
buffer: string;
|
||||
stream: NodeJS.ReadWriteStream;
|
||||
write(html: any): void;
|
||||
error(err: Error): void;
|
||||
end(): void;
|
||||
}
|
Reference in New Issue
Block a user