add some spaces and comments

This commit is contained in:
Bruno Windels 2021-11-23 14:24:43 +01:00
parent c22718811f
commit 7897ea88cd
3 changed files with 4 additions and 2 deletions

View file

@ -67,6 +67,8 @@ interface RemoveResult {
removeIdx: number;
}
// need to repeat the fields from RemoveResult and AddResult here
// to make the discriminated union work
interface RemoveAndAddResult<T> {
type: ResultType.RemoveAndAdd;
newRange?: ListRange;