UNPKG

vike

Version:

(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.

5 lines (4 loc) • 225 B
export { cast }; export { castProp }; declare function cast<Type>(_thing: unknown): asserts _thing is Type; declare function castProp<PropType>(_obj: object, prop: PropertyKey): asserts _obj is Record<typeof prop, PropType>;