clarify which NumberSize to use

pull/21833/head
Travis Ralston 2020-07-08 07:51:48 -06:00
parent 9b0eeae2eb
commit b2abe61fc5
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
e: MouseEvent | TouchEvent, e: MouseEvent | TouchEvent,
travelDirection: Direction, travelDirection: Direction,
refToElement: HTMLDivElement, refToElement: HTMLDivElement,
delta: { width: number, height: number }, // TODO: Use NumberSize from re-resizer when it is exposed delta: { width: number, height: number }, // TODO: Use re-resizer's NumberSize when it is exposed as the type
) => { ) => {
// Do some sanity checks, but in reality we shouldn't need these. // Do some sanity checks, but in reality we shouldn't need these.
if (travelDirection !== "bottom") return; if (travelDirection !== "bottom") return;