Recommended way to import tsafe
import { assert, type Equals, typeGuard } from "tsafe"; // NOTE: You can also cherry pick imports, example: // import { assert, is, type Equals } from "tsafe/assert"; // import { typeGuard } from "tsafe/typeGuard";
/deps.ts
export { assert, type Equals } from "https://deno.land/x/tsafe@v0.7.3/mod.ts";
import { assert, type Equals } from "./deps.ts";
Last updated 1 month ago