jspm/generator

generate .d.ts instead of .ts

tjx666 opened this issue · 3 comments

reproduce:

  1. git clone https://github.com/tjx666/wpm-issue
  2. pnpm install
  3. tsc

image

Related to #234, these are actual typing issues in the generator (we don't have strict typing enabled, should get on that!).

FYI: this is a critical misconfiguration. The types field cannot point to a .ts file; this is going to effectively break any TypeScript consumer of the package.

Ah, ok, thanks! I see what the issue is now - posted a fix.