flow switch to module.exports

This commit is contained in:
SheetJS 2018-04-21 10:24:37 -04:00
parent e3efc1ad7d
commit e267d1d667
3 changed files with 5 additions and 9 deletions

@ -29,6 +29,3 @@ module.file_ext=.js
module.file_ext=.njs
module.ignore_non_literal_requires=true
suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore
[lints]
deprecated-declare-exports=off

@ -1,5 +1,6 @@
language: node_js
node_js:
- "9"
- "8"
- "7"
- "6"
@ -7,7 +8,6 @@ node_js:
- "4"
- "0.12"
- "0.10"
- "0.9"
- "0.8"
matrix:
include:
@ -19,7 +19,7 @@ matrix:
env: TZ="Europe/London"
- node_js: "8"
env: TZ="Europe/Berlin"
- node_js: "6"
- node_js: "9"
env: TZ="Asia/Kolkata"
- node_js: "7"
env: TZ="Asia/Shanghai"

@ -1,8 +1,7 @@
/*# vim: set ts=2: */
/*::
declare module './' { declare var exports:SSFModule; };
declare module '../' { declare var exports:SSFModule; };
declare module 'ssf' { declare var exports:SSFModule; };
declare module './' { declare module.exports:SSFModule; };
declare module '../' { declare module.exports:SSFModule; };
declare module 'ssf' { declare module.exports:SSFModule; };
*/