UNPKG

vike

Version:

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

8 lines (7 loc) 200 B
export { augmentType }; import { assert } from './assert.js'; /** Help TypeScript augment the type of objects. */ function augmentType(thing, clone) { // @ts-ignore assert(thing === clone); }