Open samchon opened 1 year ago
Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?
Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?
I didn't understand the question. What are you curious about?
TypeScript team had decided to support formal transform API since v5.2 update.
However, as TS v5.2 transform API provides types of
typescript/lib/tsclibrary
instead oftypescript
,typia
must be entirely rewritten. In such reason, typiawould be rewritten with break changes. Also, as
nestiais utilizing TypeScript API in not only transformation mode(
@nestia/core) but also generation (
@nestia/sdk) mode,
nestia` must be entirely rewritten with major version update.Release date of TS 5.2 may
2023-08
, butnestia v2
would be released a little bit earlier. It's because nextnestia
will support bothts-patch
and TS 5.2 transform API. When you runnpx nestia setup
, it will configuretsconfig.json
file properly considering TS version. If TS version is lower than 5.2,ts-patch
would be utilized. Otherwise, puretypescript
would be utilized.