Skip to content

Commit 9615f61

Browse files
committed
Drop unused re-imports of skjson primitives in core/index
1 parent 056c8d9 commit 9615f61

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

skiplang/skjson/ts/binding/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export abstract class Frozen implements Managed {
3434
protected abstract freeze(): void;
3535
}
3636

37-
export function sk_freeze<T extends object>(x: T): T & Managed {
37+
function sk_freeze<T extends object>(x: T): T & Managed {
3838
return Object.defineProperty(x, sk_managed, {
3939
enumerable: false,
4040
writable: false,

skipruntime-ts/core/src/index.ts

+1-7
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ import type {
1212
JsonConverter,
1313
JsonObject,
1414
} from "../skiplang-json/index.js";
15-
import {
16-
sk_freeze,
17-
isSkManaged,
18-
SkManaged,
19-
checkOrCloneParam,
20-
} from "../skiplang-json/index.js";
15+
import { SkManaged, checkOrCloneParam } from "../skiplang-json/index.js";
2116

2217
import { sknative } from "../skiplang-std/index.js";
2318

@@ -54,7 +49,6 @@ import {
5449
type FromBinding,
5550
} from "./binding.js";
5651

57-
export { sk_freeze, isSkManaged };
5852
export * from "./api.js";
5953
export * from "./errors.js";
6054

0 commit comments

Comments
 (0)