UNPKG

vike

Version:

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

5 lines (4 loc) • 210 B
export { assertKeys }; declare function assertKeys<Keys extends readonly string[]>(obj: Record<string, unknown>, keysExpected: Keys, errPrefix: string): asserts obj is { [key in Keys[number]]?: unknown; };