mirror of
https://github.com/loro-dev/loro.git
synced 2024-12-01 04:28:18 +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 {
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue