baseDefinitions
This commit is contained in:
23
src/functions/baseDefinitions.ts
Normal file
23
src/functions/baseDefinitions.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
export interface ThroughOptions {
|
||||
objectMode?: boolean;
|
||||
}
|
||||
|
||||
export interface TransformOptions {
|
||||
readableObjectMode?: boolean;
|
||||
writableObjectMode?: boolean;
|
||||
}
|
||||
|
||||
export interface WithEncoding {
|
||||
encoding: string;
|
||||
}
|
||||
|
||||
export enum SerializationFormats {
|
||||
utf8 = "utf8",
|
||||
}
|
||||
|
||||
type JsonPrimitive = string | number | object;
|
||||
export type JsonValue = JsonPrimitive | JsonPrimitive[];
|
||||
|
||||
export interface JsonParseOptions {
|
||||
pretty: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user