Integrating two-up (#34)

This commit is contained in:
Jake Archibald
2018-05-18 14:52:00 +01:00
committed by GitHub
parent 634dfe3717
commit a7598b6602
6 changed files with 286 additions and 17 deletions

22
src/missing-types.d.ts vendored Normal file
View File

@@ -0,0 +1,22 @@
// PRs to fix this:
// https://github.com/developit/preact/pull/1101
// https://github.com/developit/preact/pull/1102
declare namespace JSX {
type PointerEventHandler = EventHandler<PointerEvent>;
interface DOMAttributes {
onTouchStartCapture?: TouchEventHandler;
onTouchEndCapture?: TouchEventHandler;
onTouchMoveCapture?: TouchEventHandler;
onPointerDownCapture?: PointerEventHandler;
onMouseDownCapture?: MouseEventHandler;
onWheelCapture?: WheelEventHandler;
}
}
interface CanvasRenderingContext2D {
filter: string;
}