diff --git a/turbo/generators/config.ts b/turbo/generators/config.ts index 397f269..b153d94 100644 --- a/turbo/generators/config.ts +++ b/turbo/generators/config.ts @@ -279,7 +279,7 @@ export default function generator(plop: PlopTypes.NodePlopAPI): void { }, // Final manual-wiring instructions printed to the user - function printNextSteps(answers): string { + function printNextSteps(answers: Record): string { const a = answers as { name: string; entity: string; entityPlural: string }; const kebab = a.name; const constSym = a.name.toUpperCase().replace(/-/g, "_"); diff --git a/turbo/generators/tsconfig.json b/turbo/generators/tsconfig.json new file mode 100644 index 0000000..7ce20ec --- /dev/null +++ b/turbo/generators/tsconfig.json @@ -0,0 +1,12 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "module": "NodeNext", + "moduleResolution": "NodeNext", + "noEmit": true, + "types": ["node"], + "rootDir": "." + }, + "include": ["./**/*.ts"], + "exclude": ["./templates/**"] +}