Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use TS_NODE_TYPE_CHECK insteadof TS_NODE_TRANSPILE #266

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/cmd/dal/gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
Loading