When I try to run this grunt task I get an error TS2300 from duplicate identifiers. the exclude: "typings/main" is meant to avoid this, and it works when running tsc from the command line, but not when running the grunt-ts task. Somewhat confused as it is definitely excluding node_modules in the compilation, but not the typings file.
I am using a tsconfig.json file in conjunction with grunt-ts here is the grunt task:
and the tsconfig.json file:
When I try to run this grunt task I get an error TS2300 from duplicate identifiers. the
exclude: "typings/main"
is meant to avoid this, and it works when running tsc from the command line, but not when running the grunt-ts task. Somewhat confused as it is definitely excludingnode_modules
in the compilation, but not the typings file.