You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're excited to announce Encore v1.38, which brings a huge set of improvements to Encore's static analysis of TypeScript type information! As always, update with encore version update.
Advanced TypeScript types
You can now define use advanced TypeScript features like generic types, union types, conditional types, mapped types, literal types, and much more, in your API endpoints. This also include utility types you've come to love, like Record<K, V>, Partial<T>, Required<T>, Pick<T, K>, Omit<T, K>, and more.
We're going to keep expanding on Encore's TypeScript type system support over the coming releases, so let us know on Discord if there's additional type system functionality you'd like to see.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We're excited to announce Encore v1.38, which brings a huge set of improvements to Encore's static analysis of TypeScript type information! As always, update with
encore version update
.Advanced TypeScript types
You can now define use advanced TypeScript features like generic types, union types, conditional types, mapped types, literal types, and much more, in your API endpoints. This also include utility types you've come to love, like
Record<K, V>
,Partial<T>
,Required<T>
,Pick<T, K>
,Omit<T, K>
, and more.We're going to keep expanding on Encore's TypeScript type system support over the coming releases, so let us know on Discord if there's additional type system functionality you'd like to see.
This discussion was created from the release Advanced TypeScript types.
Beta Was this translation helpful? Give feedback.
All reactions