Releases: rikukissa/typehole
Releases · rikukissa/typehole
1.7.0
[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
[1.6.3] - 2021-06-20
Fixed
- Fixes code formatting generating broken / duplicate code
1.6.2
[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
Fixed
- Fix the automatic formatting in files where types are inserted
1.6.0
Added
- Options for configuring both the extension server port and runtime host address. Addresses #13
1.5.1
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
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
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