oc-generic-template-compiler
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -8,3 +8,3 @@ type Callback<T = unknown> = (err: Error | null, data: T) => void; | ||
} | ||
interface CompiledViewInfo { | ||
export interface CompiledViewInfo { | ||
template: { | ||
@@ -41,2 +41,6 @@ type: string; | ||
} | ||
export interface CompilerServerOptions extends CompilerOptions { | ||
compiledViewInfo: CompiledViewInfo; | ||
} | ||
export type CompileView = ( | ||
@@ -47,5 +51,3 @@ options: CompilerOptions, | ||
export type CompileServer = ( | ||
options: CompilerOptions & { | ||
compiledViewInfo: CompiledViewInfo; | ||
}, | ||
options: CompilerServerOptions, | ||
cb: Callback<any> | ||
@@ -52,0 +54,0 @@ ) => void; |
{ | ||
"name": "oc-generic-template-compiler", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "OC-Generic-Template-Compiler", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7020
177