mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-11 14:53:12 +00:00
fix(ts): types
This commit is contained in:
parent
81ae2abacc
commit
aca14fda10
1 changed files with 2 additions and 2 deletions
|
@ -2973,7 +2973,7 @@ interface LoroText {
|
||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
getCursor(pos: usize, side?: Side): StablePosition | undefined;
|
getCursor(pos: number, side?: Side): StablePosition | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface LoroList {
|
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;
|
export type Side = -1 | 0 | 1;
|
||||||
|
|
Loading…
Reference in a new issue