Enhance PanAndZoom with touch support for pinch zoom and single-finger pan #29
Annotations
11 errors
test:
src/base/dom/pan-and-zoom.ts#L62
Argument of type 'null' is not assignable to parameter of type 'Vec2'.
|
test:
src/base/dom/pan-and-zoom.ts#L64
Argument of type 'null' is not assignable to parameter of type 'Vec2'.
|
test:
src/base/dom/pan-and-zoom.ts#L70
'startPosition' is possibly 'null'.
|
test:
src/base/dom/pan-and-zoom.ts#L70
Object is possibly 'undefined'.
|
test:
src/base/dom/pan-and-zoom.ts#L71
'startPosition' is possibly 'null'.
|
test:
src/base/dom/pan-and-zoom.ts#L71
Object is possibly 'undefined'.
|
test:
src/base/dom/pan-and-zoom.ts#L72
Object is possibly 'undefined'.
|
test:
src/base/dom/pan-and-zoom.ts#L73
Object is possibly 'undefined'.
|
test:
src/base/dom/pan-and-zoom.ts#L88
Object is possibly 'undefined'.
|
test:
src/base/dom/pan-and-zoom.ts#L88
Object is possibly 'undefined'.
|
lint
Process completed with exit code 1.
|