@diaryx/wasm 1.0.1-dev.b9c03a2 → 1.1.0-dev.a2ad139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/diaryx_wasm.d.ts +42 -34
- package/diaryx_wasm.js +24 -10
- package/diaryx_wasm_bg.wasm.d.ts +35 -34
- package/package.json +1 -1
package/diaryx_wasm.d.ts
CHANGED
|
@@ -547,6 +547,13 @@ export class WasmSyncClient {
|
|
|
547
547
|
* Call this before connecting to join a share session.
|
|
548
548
|
*/
|
|
549
549
|
setSessionCode(code: string): void;
|
|
550
|
+
/**
|
|
551
|
+
* Request body sync for specific files (lazy sync on demand).
|
|
552
|
+
*
|
|
553
|
+
* Sends SyncBodyFiles event through the session to initiate body
|
|
554
|
+
* SyncStep1 for just the requested files, rather than all files.
|
|
555
|
+
*/
|
|
556
|
+
syncBodyFiles(file_paths: string[]): Promise<any>;
|
|
550
557
|
/**
|
|
551
558
|
* Send an unfocus message for specific files.
|
|
552
559
|
*/
|
|
@@ -572,38 +579,7 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
572
579
|
|
|
573
580
|
export interface InitOutput {
|
|
574
581
|
readonly memory: WebAssembly.Memory;
|
|
575
|
-
readonly __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
|
|
576
|
-
readonly __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
577
|
-
readonly jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
578
|
-
readonly jsasyncfilesystem_new: (a: any) => number;
|
|
579
|
-
readonly wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
580
|
-
readonly wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
581
|
-
readonly wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
582
|
-
readonly wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
583
|
-
readonly wasmsyncclient_hasEvents: (a: number) => number;
|
|
584
|
-
readonly wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
585
|
-
readonly wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
586
|
-
readonly wasmsyncclient_onConnected: (a: number) => any;
|
|
587
|
-
readonly wasmsyncclient_onDisconnected: (a: number) => any;
|
|
588
|
-
readonly wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
589
|
-
readonly wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
590
|
-
readonly wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
591
|
-
readonly wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
592
|
-
readonly wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
593
|
-
readonly wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
594
|
-
readonly wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
595
|
-
readonly wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
596
|
-
readonly __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
597
|
-
readonly opfsfilesystem_create: () => any;
|
|
598
|
-
readonly opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
599
|
-
readonly __wbg_fsafilesystem_free: (a: number, b: number) => void;
|
|
600
|
-
readonly __wbg_indexeddbfilesystem_free: (a: number, b: number) => void;
|
|
601
|
-
readonly fsafilesystem_fromHandle: (a: any) => number;
|
|
602
|
-
readonly indexeddbfilesystem_create: () => any;
|
|
603
|
-
readonly indexeddbfilesystem_createWithName: (a: number, b: number) => any;
|
|
604
582
|
readonly init: () => void;
|
|
605
|
-
readonly now_timestamp: () => [number, number];
|
|
606
|
-
readonly today_formatted: (a: number, b: number) => [number, number];
|
|
607
583
|
readonly __wbg_diaryxbackend_free: (a: number, b: number) => void;
|
|
608
584
|
readonly diaryxbackend_create: (a: number, b: number) => any;
|
|
609
585
|
readonly diaryxbackend_createFromDirectoryHandle: (a: any) => [number, number, number];
|
|
@@ -624,12 +600,44 @@ export interface InitOutput {
|
|
|
624
600
|
readonly diaryxbackend_saveConfig: (a: number, b: any) => any;
|
|
625
601
|
readonly diaryxbackend_setCrdtEnabled: (a: number, b: number) => void;
|
|
626
602
|
readonly diaryxbackend_writeBinary: (a: number, b: number, c: number, d: any) => any;
|
|
627
|
-
readonly
|
|
603
|
+
readonly __wbg_fsafilesystem_free: (a: number, b: number) => void;
|
|
604
|
+
readonly __wbg_indexeddbfilesystem_free: (a: number, b: number) => void;
|
|
605
|
+
readonly fsafilesystem_fromHandle: (a: any) => number;
|
|
606
|
+
readonly indexeddbfilesystem_create: () => any;
|
|
607
|
+
readonly indexeddbfilesystem_createWithName: (a: number, b: number) => any;
|
|
608
|
+
readonly __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
609
|
+
readonly now_timestamp: () => [number, number];
|
|
610
|
+
readonly opfsfilesystem_create: () => any;
|
|
611
|
+
readonly opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
612
|
+
readonly today_formatted: (a: number, b: number) => [number, number];
|
|
613
|
+
readonly __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
|
|
614
|
+
readonly __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
615
|
+
readonly jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
616
|
+
readonly jsasyncfilesystem_new: (a: any) => number;
|
|
617
|
+
readonly wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
618
|
+
readonly wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
619
|
+
readonly wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
620
|
+
readonly wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
621
|
+
readonly wasmsyncclient_hasEvents: (a: number) => number;
|
|
622
|
+
readonly wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
623
|
+
readonly wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
624
|
+
readonly wasmsyncclient_onConnected: (a: number) => any;
|
|
625
|
+
readonly wasmsyncclient_onDisconnected: (a: number) => any;
|
|
626
|
+
readonly wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
627
|
+
readonly wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
628
|
+
readonly wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
629
|
+
readonly wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
630
|
+
readonly wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
631
|
+
readonly wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
632
|
+
readonly wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
633
|
+
readonly wasmsyncclient_syncBodyFiles: (a: number, b: number, c: number) => any;
|
|
634
|
+
readonly wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
635
|
+
readonly wasm_bindgen__closure__destroy__h16eb7d9565b27134: (a: number, b: number) => void;
|
|
628
636
|
readonly wasm_bindgen__closure__destroy__h54a6b627d1123dca: (a: number, b: number) => void;
|
|
629
637
|
readonly wasm_bindgen__closure__destroy__h440f08373ff30a05: (a: number, b: number) => void;
|
|
630
|
-
readonly
|
|
638
|
+
readonly wasm_bindgen__convert__closures_____invoke__h2801498da307dd40: (a: number, b: number, c: any) => [number, number];
|
|
631
639
|
readonly wasm_bindgen__convert__closures_____invoke__h4e796b59e8c15a06: (a: number, b: number, c: any, d: any) => void;
|
|
632
|
-
readonly
|
|
640
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c: (a: number, b: number, c: any) => void;
|
|
633
641
|
readonly wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3: (a: number, b: number, c: any) => void;
|
|
634
642
|
readonly wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746: (a: number, b: number, c: any) => void;
|
|
635
643
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
package/diaryx_wasm.js
CHANGED
|
@@ -807,6 +807,20 @@ export class WasmSyncClient {
|
|
|
807
807
|
const len0 = WASM_VECTOR_LEN;
|
|
808
808
|
wasm.wasmsyncclient_setSessionCode(this.__wbg_ptr, ptr0, len0);
|
|
809
809
|
}
|
|
810
|
+
/**
|
|
811
|
+
* Request body sync for specific files (lazy sync on demand).
|
|
812
|
+
*
|
|
813
|
+
* Sends SyncBodyFiles event through the session to initiate body
|
|
814
|
+
* SyncStep1 for just the requested files, rather than all files.
|
|
815
|
+
* @param {string[]} file_paths
|
|
816
|
+
* @returns {Promise<any>}
|
|
817
|
+
*/
|
|
818
|
+
syncBodyFiles(file_paths) {
|
|
819
|
+
const ptr0 = passArrayJsValueToWasm0(file_paths, wasm.__wbindgen_malloc);
|
|
820
|
+
const len0 = WASM_VECTOR_LEN;
|
|
821
|
+
const ret = wasm.wasmsyncclient_syncBodyFiles(this.__wbg_ptr, ptr0, len0);
|
|
822
|
+
return ret;
|
|
823
|
+
}
|
|
810
824
|
/**
|
|
811
825
|
* Send an unfocus message for specific files.
|
|
812
826
|
* @param {string[]} files
|
|
@@ -1538,22 +1552,22 @@ function __wbg_get_imports() {
|
|
|
1538
1552
|
return ret;
|
|
1539
1553
|
}, arguments); },
|
|
1540
1554
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1541
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1542
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1555
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 682, function: Function { arguments: [NamedExternref("Event")], shim_idx: 614, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1556
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h16eb7d9565b27134, wasm_bindgen__convert__closures_____invoke__h2801498da307dd40);
|
|
1543
1557
|
return ret;
|
|
1544
1558
|
},
|
|
1545
1559
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1546
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1547
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1560
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 682, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 613, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1561
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h16eb7d9565b27134, wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c);
|
|
1548
1562
|
return ret;
|
|
1549
1563
|
},
|
|
1550
1564
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1551
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1565
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 801, function: Function { arguments: [NamedExternref("Event")], shim_idx: 802, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1552
1566
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h54a6b627d1123dca, wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3);
|
|
1553
1567
|
return ret;
|
|
1554
1568
|
},
|
|
1555
1569
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1556
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1570
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 827, function: Function { arguments: [Externref], shim_idx: 828, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1557
1571
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h440f08373ff30a05, wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746);
|
|
1558
1572
|
return ret;
|
|
1559
1573
|
},
|
|
@@ -1598,8 +1612,8 @@ function __wbg_get_imports() {
|
|
|
1598
1612
|
};
|
|
1599
1613
|
}
|
|
1600
1614
|
|
|
1601
|
-
function
|
|
1602
|
-
wasm.
|
|
1615
|
+
function wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c(arg0, arg1, arg2) {
|
|
1616
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c(arg0, arg1, arg2);
|
|
1603
1617
|
}
|
|
1604
1618
|
|
|
1605
1619
|
function wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3(arg0, arg1, arg2) {
|
|
@@ -1610,8 +1624,8 @@ function wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746(arg0, arg
|
|
|
1610
1624
|
wasm.wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746(arg0, arg1, arg2);
|
|
1611
1625
|
}
|
|
1612
1626
|
|
|
1613
|
-
function
|
|
1614
|
-
const ret = wasm.
|
|
1627
|
+
function wasm_bindgen__convert__closures_____invoke__h2801498da307dd40(arg0, arg1, arg2) {
|
|
1628
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h2801498da307dd40(arg0, arg1, arg2);
|
|
1615
1629
|
if (ret[1]) {
|
|
1616
1630
|
throw takeFromExternrefTable0(ret[0]);
|
|
1617
1631
|
}
|
package/diaryx_wasm_bg.wasm.d.ts
CHANGED
|
@@ -1,38 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
6
|
-
export const jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
7
|
-
export const jsasyncfilesystem_new: (a: any) => number;
|
|
8
|
-
export const wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
9
|
-
export const wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
10
|
-
export const wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
11
|
-
export const wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
12
|
-
export const wasmsyncclient_hasEvents: (a: number) => number;
|
|
13
|
-
export const wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
14
|
-
export const wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
15
|
-
export const wasmsyncclient_onConnected: (a: number) => any;
|
|
16
|
-
export const wasmsyncclient_onDisconnected: (a: number) => any;
|
|
17
|
-
export const wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
18
|
-
export const wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
19
|
-
export const wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
20
|
-
export const wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
21
|
-
export const wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
22
|
-
export const wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
23
|
-
export const wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
24
|
-
export const wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
25
|
-
export const __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
26
|
-
export const opfsfilesystem_create: () => any;
|
|
27
|
-
export const opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
28
|
-
export const __wbg_fsafilesystem_free: (a: number, b: number) => void;
|
|
29
|
-
export const __wbg_indexeddbfilesystem_free: (a: number, b: number) => void;
|
|
30
|
-
export const fsafilesystem_fromHandle: (a: any) => number;
|
|
31
|
-
export const indexeddbfilesystem_create: () => any;
|
|
32
|
-
export const indexeddbfilesystem_createWithName: (a: number, b: number) => any;
|
|
33
4
|
export const init: () => void;
|
|
34
|
-
export const now_timestamp: () => [number, number];
|
|
35
|
-
export const today_formatted: (a: number, b: number) => [number, number];
|
|
36
5
|
export const __wbg_diaryxbackend_free: (a: number, b: number) => void;
|
|
37
6
|
export const diaryxbackend_create: (a: number, b: number) => any;
|
|
38
7
|
export const diaryxbackend_createFromDirectoryHandle: (a: any) => [number, number, number];
|
|
@@ -53,12 +22,44 @@ export const diaryxbackend_readBinary: (a: number, b: number, c: number) => any;
|
|
|
53
22
|
export const diaryxbackend_saveConfig: (a: number, b: any) => any;
|
|
54
23
|
export const diaryxbackend_setCrdtEnabled: (a: number, b: number) => void;
|
|
55
24
|
export const diaryxbackend_writeBinary: (a: number, b: number, c: number, d: any) => any;
|
|
56
|
-
export const
|
|
25
|
+
export const __wbg_fsafilesystem_free: (a: number, b: number) => void;
|
|
26
|
+
export const __wbg_indexeddbfilesystem_free: (a: number, b: number) => void;
|
|
27
|
+
export const fsafilesystem_fromHandle: (a: any) => number;
|
|
28
|
+
export const indexeddbfilesystem_create: () => any;
|
|
29
|
+
export const indexeddbfilesystem_createWithName: (a: number, b: number) => any;
|
|
30
|
+
export const __wbg_opfsfilesystem_free: (a: number, b: number) => void;
|
|
31
|
+
export const now_timestamp: () => [number, number];
|
|
32
|
+
export const opfsfilesystem_create: () => any;
|
|
33
|
+
export const opfsfilesystem_createWithName: (a: number, b: number) => any;
|
|
34
|
+
export const today_formatted: (a: number, b: number) => [number, number];
|
|
35
|
+
export const __wbg_jsasyncfilesystem_free: (a: number, b: number) => void;
|
|
36
|
+
export const __wbg_wasmsyncclient_free: (a: number, b: number) => void;
|
|
37
|
+
export const jsasyncfilesystem_has_callback: (a: number, b: number, c: number) => number;
|
|
38
|
+
export const jsasyncfilesystem_new: (a: any) => number;
|
|
39
|
+
export const wasmsyncclient_focusFiles: (a: number, b: number, c: number) => void;
|
|
40
|
+
export const wasmsyncclient_getServerUrl: (a: number) => [number, number];
|
|
41
|
+
export const wasmsyncclient_getWorkspaceId: (a: number) => [number, number];
|
|
42
|
+
export const wasmsyncclient_getWsUrl: (a: number) => [number, number];
|
|
43
|
+
export const wasmsyncclient_hasEvents: (a: number) => number;
|
|
44
|
+
export const wasmsyncclient_hasOutgoing: (a: number) => number;
|
|
45
|
+
export const wasmsyncclient_onBinaryMessage: (a: number, b: number, c: number) => any;
|
|
46
|
+
export const wasmsyncclient_onConnected: (a: number) => any;
|
|
47
|
+
export const wasmsyncclient_onDisconnected: (a: number) => any;
|
|
48
|
+
export const wasmsyncclient_onSnapshotImported: (a: number) => any;
|
|
49
|
+
export const wasmsyncclient_onTextMessage: (a: number, b: number, c: number) => any;
|
|
50
|
+
export const wasmsyncclient_pollEvent: (a: number) => [number, number];
|
|
51
|
+
export const wasmsyncclient_pollOutgoingBinary: (a: number) => any;
|
|
52
|
+
export const wasmsyncclient_pollOutgoingText: (a: number) => [number, number];
|
|
53
|
+
export const wasmsyncclient_queueLocalUpdate: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
54
|
+
export const wasmsyncclient_setSessionCode: (a: number, b: number, c: number) => void;
|
|
55
|
+
export const wasmsyncclient_syncBodyFiles: (a: number, b: number, c: number) => any;
|
|
56
|
+
export const wasmsyncclient_unfocusFiles: (a: number, b: number, c: number) => void;
|
|
57
|
+
export const wasm_bindgen__closure__destroy__h16eb7d9565b27134: (a: number, b: number) => void;
|
|
57
58
|
export const wasm_bindgen__closure__destroy__h54a6b627d1123dca: (a: number, b: number) => void;
|
|
58
59
|
export const wasm_bindgen__closure__destroy__h440f08373ff30a05: (a: number, b: number) => void;
|
|
59
|
-
export const
|
|
60
|
+
export const wasm_bindgen__convert__closures_____invoke__h2801498da307dd40: (a: number, b: number, c: any) => [number, number];
|
|
60
61
|
export const wasm_bindgen__convert__closures_____invoke__h4e796b59e8c15a06: (a: number, b: number, c: any, d: any) => void;
|
|
61
|
-
export const
|
|
62
|
+
export const wasm_bindgen__convert__closures_____invoke__h6bb03e7243c69a1c: (a: number, b: number, c: any) => void;
|
|
62
63
|
export const wasm_bindgen__convert__closures_____invoke__h7d21c95eeb3011e3: (a: number, b: number, c: any) => void;
|
|
63
64
|
export const wasm_bindgen__convert__closures_____invoke__h359356b1e0b37746: (a: number, b: number, c: any) => void;
|
|
64
65
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
package/package.json
CHANGED