UNPKG

vike

Version:

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

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