diff --git a/lib/cmd/dal/gen.js b/lib/cmd/dal/gen.js index 2b54ed6..4ef4418 100644 --- a/lib/cmd/dal/gen.js +++ b/lib/cmd/dal/gen.js @@ -43,8 +43,9 @@ class DalGenCommand extends Command { execArgv: context.execArgv, env: { ...context.env, - // Dal table class modified may cause ts error, so we use transpile only - TS_NODE_TRANSPILE_ONLY: 'true', + // Dal table class modified may cause ts error, so we skip type check + // Don't use TS_NODE_TRANSPILE, it will not ignore typing file. + TS_NODE_TYPE_CHECK: 'false', }, cwd: baseDir, };