workaround "Type instantiation is excessively deep and possibly infinite."
* this is not a real fix * but we want to make this work ASAP * .. it does work despite Typescript choking * .. this is not a critical code path
This commit is contained in:
parent
ac4646d434
commit
2f034291b7
1 changed files with 4 additions and 3 deletions
|
|
@ -2,11 +2,12 @@ import {
|
|||
generateConfig,
|
||||
printConfigOptions,
|
||||
} from "@digiresilience/metamigo-common";
|
||||
import { IAppConfig, IAppConvict } from "@digiresilience/metamigo-config";
|
||||
import { loadConfigRaw } from "@digiresilience/metamigo-config";
|
||||
|
||||
export const genConf = async (): Promise<void> => {
|
||||
const c = await loadConfigRaw();
|
||||
const generated = generateConfig(c);
|
||||
const c = await loadConfigRaw() as any;
|
||||
const generated = generateConfig(c) as any;
|
||||
console.log(generated);
|
||||
};
|
||||
|
||||
|
|
@ -16,6 +17,6 @@ export const genSchema = async (): Promise<void> => {
|
|||
};
|
||||
|
||||
export const listConfig = async (): Promise<void> => {
|
||||
const c = await loadConfigRaw();
|
||||
const c = await loadConfigRaw() as any;
|
||||
printConfigOptions(c);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue