nestia
nestia copied to clipboard
Entirely remake `nestia` for TS 5.2 transform API
Related issues:
- https://github.com/microsoft/TypeScript/issues/54276
- https://github.com/samchon/typia/issues/633
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 of typescript
, typia
must be entirely rewritten. In such reason, typiawould be rewritten with break changes. Also, as
nestia is 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
, but nestia v2
would be released a little bit earlier. It's because next nestia
will support both ts-patch
and TS 5.2 transform API. When you run npx nestia setup
, it will configure tsconfig.json
file properly considering TS version. If TS version is lower than 5.2, ts-patch
would be utilized. Otherwise, pure typescript
would be utilized.
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?