vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
10 lines (9 loc) • 311 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.augmentType = augmentType;
const assert_js_1 = require("./assert.js");
/** Help TypeScript augment the type of objects. */
function augmentType(thing, clone) {
// @ts-ignore
(0, assert_js_1.assert)(thing === clone);
}