Skip to content

Instantly share code, notes, and snippets.

@AprilArcus
Created January 14, 2016 21:09
Show Gist options
  • Save AprilArcus/af58fdde2bdca83fd180 to your computer and use it in GitHub Desktop.
Save AprilArcus/af58fdde2bdca83fd180 to your computer and use it in GitHub Desktop.
$ flow check
src/injectCallbacks.js:0
0:
^ inconsistent use of library definitions
67: detachEvent?: (type: string, listener: EventListener) => void;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:67
67: detachEvent?: (type: string, listener: EventListener) => void;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:67
src/injectCallbacks.js:0
0:
^ inconsistent use of library definitions
68: attachEvent?: (type: string, listener: EventListener) => void;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:68
68: attachEvent?: (type: string, listener: EventListener) => void;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:68
src/injectCallbacks.js:0
0:
^ inconsistent use of library definitions
387: innerText?: string;
^^^^^^ undefined. This type is incompatible with. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:387
387: innerText?: string;
^^^^^^ string. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:387
src/injectCallbacks.js:0
0:
^ inconsistent use of library definitions
390: outerText?: string;
^^^^^^ undefined. This type is incompatible with. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:390
390: outerText?: string;
^^^^^^ string. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:390
src/injectCallbacks.js:0
0:
^ inconsistent use of library definitions
409: insertAdjacentElement?: (position: ('beforebegin' | 'afterbegin' | 'beforeend' | 'afterend'), node: Node) => void;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ undefined. This type is incompatible with. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:409
409: insertAdjacentElement?: (position: ('beforebegin' | 'afterbegin' | 'beforeend' | 'afterend'), node: Node) => void;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function type. See: /private/tmp/flow/flowlib_2dc60f56/dom.js:409
Found 5 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment