sparse-intern-71089
08/22/2022, 5:42 PMlittle-cartoon-10569
08/22/2022, 10:58 PMicy-controller-6092
08/24/2022, 5:12 PMlittle-cartoon-10569
08/24/2022, 7:53 PMimport { Provider } from '@pulumi/aws'
icy-controller-6092
08/24/2022, 9:45 PMimport type { Class } from 'pkg'
should also work as long as Class
is only used as a type in the importing moduleicy-controller-6092
08/24/2022, 9:46 PMicy-controller-6092
08/24/2022, 9:51 PMimport * as aws from '@pulumi/aws'
import type { Region } from '@pulumi/aws'
and here is the exact error:
TSError: ⨯ Unable to compile TypeScript:
src/platformapi/index.ts(2,13): error TS1005: '=' expected.
src/platformapi/index.ts(2,29): error TS1005: ';' expected.
src/platformapi/index.ts(2,15): error TS2304: Cannot find name 'Region'.
src/platformapi/index.ts(2,24): error TS2304: Cannot find name 'from'.
src/platformapi/index.ts(9,36): error TS2304: Cannot find name 'Region'.
icy-controller-6092
08/24/2022, 9:52 PMtypescript
module I have installed in my projectlittle-cartoon-10569
08/24/2022, 9:59 PMicy-controller-6092
08/24/2022, 10:01 PMmelodic-car-16900
08/29/2022, 3:28 PMmelodic-car-16900
08/29/2022, 3:28 PMmelodic-car-16900
08/29/2022, 3:28 PMlittle-cartoon-10569
08/29/2022, 8:49 PMmelodic-car-16900
08/29/2022, 8:57 PMmelodic-car-16900
08/29/2022, 8:58 PMlittle-cartoon-10569
08/29/2022, 8:59 PMlittle-cartoon-10569
08/29/2022, 8:59 PM