We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecc86a6 commit c2e3e66Copy full SHA for c2e3e66
1 file changed
src/index.ts
@@ -14,6 +14,8 @@ import { jsonParse, losslessJsonStringify } from './utils.ts'
14
15
export type * from './types.ts'
16
17
+type Mutable<T> = { -readonly [K in keyof T]: T[K] }
18
+
19
type TupleOf<L extends number, T, R extends unknown[] = []> = //
20
R['length'] extends L ? R : TupleOf<L, T, [T, ...R]>
21
@@ -65,8 +67,6 @@ export const defaults: SealOptions = /* @__PURE__ */ Object.freeze({
65
67
localtimeOffsetMsec: 0,
66
68
})
69
-type Mutable<T> = { -readonly [K in keyof T]: T[K] }
-
70
/**
71
* Clones the options object.
72
* @param options The options to clone.
0 commit comments