Skip to content

Releases: timocov/dts-bundle-generator

6.5.0

31 Jan 22:08
Compare
Choose a tag to compare

Fixed

  • Extended interfaces from inlined externals are not picked up (see #186 and 56b22bc)

6.4.0

11 Jan 20:07
Compare
Choose a tag to compare

Fixed

  • export ... from does not work as expected with a default export (see #182 and #183)

Many thanks to @gamemaker1 for the work on issues in this release!

6.3.0

01 Jan 23:34
Compare
Choose a tag to compare

Fixed

  • Missing export keyword on destructured records (see #181 and 49a9b07)

6.2.0

05 Dec 16:38
Compare
Choose a tag to compare

Fixed

  • Lost generic type argument from import() statements (see #178 and c27c944)

6.1.0

22 Nov 23:13
Compare
Choose a tag to compare

Fixed

  • Fixed path of an entry file if tsconfig is outside of cwd and path is relative (see #171 and 9505ecc). Thanks @bluelovers

6.0.0

13 Nov 22:22
Compare
Choose a tag to compare

Breaking changes

  • The default order between imported and referenced as types packages has been changed. Now all libraries that has types from @types/ by default are treated as "should be imported" unless they explicitly declared as "should be referenced as types" (see #170 and f72fde1)
  • yargs package has been upgraded from v15 to v17 (see c9481ec)

5.9.0

13 Apr 14:58
Compare
Choose a tag to compare

Added

  • Added cli option --export-referenced-types to don't export types (interfaces/types/const enums) which aren't directly exported from entry source file (see #153)

Fixed

  • Wrong typings generated when import() is used for types (see #152)

5.8.0

20 Mar 16:27
Compare
Choose a tag to compare

Fixed

  • Fixed issue with incorrectly handling declaration merging with declare module statement (see #148)

5.7.0

11 Feb 18:57
Compare
Choose a tag to compare

Fixed

  • declarationDir compiler option fails generation (see #147)

Also since this release the tool will warn if you run bundling with composite TypeScript project.

5.6.0

24 Dec 15:44
Compare
Choose a tag to compare

Fixed

  • Fixed handling labelled tuples added in TypeScript 4.0 (see #143)