Skip to content

Releases: rikukissa/typehole

1.7.0

08 Jul 15:44
Compare
Choose a tag to compare

[1.7.0] - 2021-07-08

Added

  • New option "typehole.typeOrInterface" added for using type keyword instead of interface. All thanks to @akafaneh 🎉

1.6.3

20 Jun 07:36
Compare
Choose a tag to compare

[1.6.3] - 2021-06-20

Fixed

  • Fixes code formatting generating broken / duplicate code

1.6.2

22 May 16:25
Compare
Choose a tag to compare

[1.6.2] - 2021-05-22

Fixed

  • Fixes null values marking fields as optional. [{"foo": null}, {"foo": 2}] now generates a type {foo: null | number}[] and not {foo?: number}[] like it used to. Should fix #14

1.6.1

22 May 14:00
Compare
Choose a tag to compare

Fixed

  • Fix the automatic formatting in files where types are inserted

1.6.0

21 May 15:43
Compare
Choose a tag to compare

Added

  • Options for configuring both the extension server port and runtime host address. Addresses #13

1.5.1

19 May 17:13
c6b6d04
Compare
Choose a tag to compare

Fixed

  • Multiple typeholes can now exist with the same id. Each update from all of them updates all types attached to the holes. Useful, for example, when you want to have multiple typeholes update the same type.
  • No duplicated interfaces anymore when the generated top-level type is a ParenthesizedType
  • Interface not updating when it was in a different file than the typehole
  • Types not updating when some other file was focused in the editor
  • typehole.tNaN issue when there have been typeholes with a non t<number> format

1.5.0

15 May 07:42
Compare
Choose a tag to compare

Added

Support for inferring Promises 👀

Fixed

Runtime now installed also on startup if there are typeholes in your code
No more duplicate AutoDiscoveredN types

1.4.1

13 May 07:05
Compare
Choose a tag to compare

Fixed

  • Unserializable diagnostic now shown only once per typehole. Previously the tooltip could have the same warning multiple times.

  • Server is now stopped once all typeholes are removed. Restarting the server now also works