Hi, how do I add custom typings in a pulumi typesc...
# general
g
Hi, how do I add custom typings in a pulumi typescript project? I added in tsconfig and vscode is happy but not pulumi
w
Can you share any more details on the error you are seeing and how you added to ts config?
g
my tsconfig
Copy code
{
  "compilerOptions": {
    "outDir": "bin",
    "target": "es6",
    "lib": [
      "es6"
    ],
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "experimentalDecorators": true,
    "pretty": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitAny": false,
    "noImplicitReturns": true,
    "forceConsistentCasingInFileNames": true,
    "strictNullChecks": false
  },
  "files": [
    "index.ts"
  ],
  "include": [
    "./types.d.ts"
  ]
}
i added an include.
coz the npm module i install doesnt have types, so i tried to declare a module in types.d.ts
vscode doesnt show me the red underline after that, but pulumi is saying it cant find the types and ask to declare the module in a typings file.