UNPKG

vike

Version:

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

8 lines (7 loc) • 218 B
export { updateType }; import { assert } from './assert.js'; /** Help TypeScript update the type of dynamically modified objects. */ function updateType(thing, clone) { // @ts-ignore assert(thing === clone); }