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
In the future, it should be possible to work with satisfies TypeScript feature, but at this point it does not work in tandem with const assertions, which are still mandatory to infer the type correctly.
Improve DX of schema specification using
const
type parameters: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#const-type-parametersThis could be useful for creating a schema so that the
as const
is not needed, and may perhaps be replaced with a wrapper function.The text was updated successfully, but these errors were encountered: