mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-02 15:41:41 +01:00
add some spaces and comments
This commit is contained in:
parent
c22718811f
commit
7897ea88cd
@ -67,6 +67,8 @@ interface RemoveResult {
|
|||||||
removeIdx: number;
|
removeIdx: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// need to repeat the fields from RemoveResult and AddResult here
|
||||||
|
// to make the discriminated union work
|
||||||
interface RemoveAndAddResult<T> {
|
interface RemoveAndAddResult<T> {
|
||||||
type: ResultType.RemoveAndAdd;
|
type: ResultType.RemoveAndAdd;
|
||||||
newRange?: ListRange;
|
newRange?: ListRange;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user