Hi, I am trying to workaround this issue:
https://github.com/pulumi/pulumi/issues/2874
tldr; pulumi preview (and other commands) can hang for minutes due to type checking from ts-node. This happens only on first runs, however, as we run pulumi in pipelines these hangs appear quite often. You can opt-out from type checking and the hangs go away, needles to say, you loose... type checking.
My question is, if I bypass the type check inside pulumi using the
PULUMI_NODEJS_TRANSPILE_ONLY=true
flag and then on side run separate task with typescript compilation (e.g.
npx tsc --noEmit
) to check the types externally, can I miss out on some type check errors that would be caught by ts-node (with transpileOnly: false) run inside pulumi?