File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export type { IsAny, JsonValue };
66 * Check if a property {@linkcode K} is optional in {@linkcode T}.
77 *
88 * ```ts
9- * import type { Assert } from "@std/testing/types";
9+ * import type { Assert } from "jsr:/ @std/testing@^1.0.8 /types";
1010 *
1111 * type _1 = Assert<IsOptional<{ a?: number }, "a">, true>;
1212 * type _2 = Assert<IsOptional<{ a?: undefined }, "a">, true>;
@@ -26,8 +26,8 @@ export type IsOptional<T, K extends keyof T> =
2626 * A type that is compatible with JSON.
2727 *
2828 * ```ts
29- * import type { JsonValue } from "@std/json/types";
30- * import { assertType } from "@std/testing/types";
29+ * import type { JsonValue } from "jsr:/ @std/json@^1.0.1 /types";
30+ * import { assertType } from "jsr:/ @std/testing@^1.0.8 /types";
3131 *
3232 * type IsJsonCompatible<T> = [T] extends [JsonCompatible<T>] ? true : false;
3333 *
You can’t perform that action at this time.
0 commit comments