UNPKG

@instantdb/core

Version:

Instant's core local abstraction

13 lines 416 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.assert = assert; exports.assertUnreachable = assertUnreachable; function assert(condition, msg) { if (!condition) { throw new Error('[assertion error] ' + msg); } } function assertUnreachable(_x) { throw new Error('[assertion error] TS should prevent us from reaching here'); } //# sourceMappingURL=error.js.map