Shouldn't it be `{line: number, ch: number}` since is an object with those specific members?