@factorialco/gat 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/template.d.ts +3 -3
- package/package.json +1 -1
package/dist/template.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Workflow } from "./workflow";
|
|
2
|
-
interface CompileOptions {
|
|
3
|
-
templates: Record<string,
|
|
2
|
+
interface CompileOptions<T extends Workflow> {
|
|
3
|
+
templates: Record<string, T>;
|
|
4
4
|
lockFilePath: string;
|
|
5
5
|
writeLockFile: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const compileTemplates: (options: CompileOptions) => Promise<(string | void)[]>;
|
|
7
|
+
export declare const compileTemplates: <T extends Workflow>(options: CompileOptions<T>) => Promise<(string | void)[]>;
|
|
8
8
|
export {};
|