MattiasBuelens / web-streams-adapter

Adapters for converting between different implementations of WHATWG Streams
MIT License
32 stars 1 forks source link

Bundle type definitions #1

Closed MattiasBuelens closed 5 years ago

MattiasBuelens commented 5 years ago

Instead of generating separate .d.ts files for every single source file, we now generate a single .d.ts that bundles the public type definitions using rollup-plugin-dts. This should make the type definitions smaller and easier to read.

Since that plugin also supports compiling TypeScript to JavaScript, we now use that as well instead of rollup-plugin-typescript2.