UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

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>;