fix(ts): types

This commit is contained in:
Zixuan Chen 2024-04-09 16:05:30 +08:00
parent 81ae2abacc
commit aca14fda10
No known key found for this signature in database

View file

@ -2973,7 +2973,7 @@ interface LoroText {
* }
* ```
*/
getCursor(pos: usize, side?: Side): StablePosition | undefined;
getCursor(pos: number, side?: Side): StablePosition | undefined;
}
interface LoroList {
@ -3011,7 +3011,7 @@ interface LoroList {
* }
* ```
*/
getCursor(pos: usize, side?: Side): StablePosition | undefined;
getCursor(pos: number, side?: Side): StablePosition | undefined;
}
export type Side = -1 | 0 | 1;