samchon / typia

Super-fast/easy runtime validators and serializers via transformation
https://typia.io/
MIT License
4.47k stars 154 forks source link

Support Typescript 5 #556

Closed maicol07 closed 1 year ago

maicol07 commented 1 year ago

Hi, can you add compatibility with Typescript 5? Currently, I get a peer dependency warning when installing it:

.
└─┬ typia 3.6.8
  └── ✕ unmet peer typescript@">= 4.5.2 && < 5.0.0": found 5.0.2

I haven't done deep testing yet, but it compiles with assertJson. Thanks

samchon commented 1 year ago

Not working on TS5, it is the reason why blocking

sunrabbit123 commented 1 year ago

What modifications are necessary to support TS5, and what tests need to be passed?

samchon commented 1 year ago

@sunrabbit123 Waiting for updates of ts-patch and ttypescript.

sunrabbit123 commented 1 year ago

@maicol07 Now, if you use yarn add ttsc instead of yarn add ttypescript, you can use typia nicely with the ttsc command.

samchon commented 1 year ago

Okay, will unlock the TS version limit soon (waiting for ts-patch because of nestia)

samchon commented 1 year ago

Supported by ts-patch