Title
w

white-balloon-205

06/20/2018, 4:33 PM
This is a slightly unfortunate TypeScript thing. The best way to avoid this is to remove the
"declaration": true
line from
tsconfig.json
. We plan to remove this from all examples and templates to avoid this.
FWIW - That line in tsconfig.json tells TypeScript to try to generate a
.d.ts
file as part of the output. This is important for reusable libraries, but not needed for application code.
TypeScript has some strict rules when it generates a
.d.ts
file about being able to unambiguosly name any types that appear on the public API.