loro/loro-js
Zixuan Chen bc09a0489f
feat: add typed versions of getMap and getList to Loro class (#96)
* feat: add typed versions of getMap and getList to Loro class

This commit adds `getTypedMap` and `getTypedList` methods to the `Loro` class, which allow for accessing maps and lists with type information. It also adds corresponding `getTyped`, `insertTyped`, and `setTyped` methods to `LoroMap` and `LoroList`. This makes it easier and safer to work with Loro's data structures.

* chore: bump version

* chore: alpha 1

* feat: add size and length to list and map

* chore: update deno test script
2023-05-11 11:59:48 +08:00
..
.vscode feat: extra pkg loro-crdt to wrap loro-wasm 2023-03-24 10:08:11 +08:00
src feat: add typed versions of getMap and getList to Loro class (#96) 2023-05-11 11:59:48 +08:00
tests feat: add typed versions of getMap and getList to Loro class (#96) 2023-05-11 11:59:48 +08:00
.gitignore feat: extra pkg loro-crdt to wrap loro-wasm 2023-03-24 10:08:11 +08:00
package.json feat: add typed versions of getMap and getList to Loro class (#96) 2023-05-11 11:59:48 +08:00
pnpm-lock.yaml Perf: speed up utf16 and wasm (#90) 2023-04-03 09:29:25 +08:00
rollup.config.mjs feat: extra pkg loro-crdt to wrap loro-wasm 2023-03-24 10:08:11 +08:00
tsconfig.json feat: extra pkg loro-crdt to wrap loro-wasm 2023-03-24 10:08:11 +08:00
vite.config.ts feat: convert event to js & add vitest 2023-03-25 20:11:45 +08:00