stocky-island-3676
02/25/2020, 4:36 PMtsc
returns an error in `@pulumi/pulumi`:
node_modules/@pulumi/pulumi/queryable/index.d.ts:8:60 - error TS2304: Cannot find name 'Omit'.
8 export declare type ResolvedResource<T extends Resource> = Omit<Resolved<T>, "urn" | "getProvider">;
Package versions 1.11.0
, 1.10.0
& 1.9.0
return the same error (didn’t test others, yet).white-balloon-205
02/25/2020, 6:53 PMtsc
? And with what tsconfig.json?stocky-island-3676
02/27/2020, 5:40 PM3.3.4000
) 🙈
I think $(npm bin)/tsc
would be the better way to avoid this.white-balloon-205
02/27/2020, 6:54 PMtsc
for you - by default Pulumi uses a built-in version of TypeScript that it depends on via tsnode
which should never hit the problem above. Sounds like you are opting to compile yourself - which likely is something you are doing with a build step you are managing yourself?stocky-island-3676
02/27/2020, 6:57 PMtsc
as a step for publishing our NPM package which has a Pulumi class in it. Is there a way doing this with pulumi
CLI?white-balloon-205
02/27/2020, 7:03 PMtsc
manually, and you are right that in that case you will want to make sure to use the same version of tsc
. My comments above were about deploying apps directly.stocky-island-3676
02/27/2020, 7:06 PMwhite-balloon-205
02/27/2020, 7:12 PM