Skip to content

Commit

Permalink
Put the flowtype interfaces into the main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviervia committed Oct 3, 2016
1 parent 17ff107 commit cfcce57
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ template
lib
tmp
fixtures
flowtype-interfaces
17 changes: 17 additions & 0 deletions flowtype-interfaces/jasmine.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Simplified Jasmine type definitions, taken from
// https://github.com/flowtype/flow-typed/blob/master/definitions/npm/jasmine_v2.4.x/flow_all/jasmine_v2.4.x.js#L21
declare function describe(): any;
declare function fdescribe(): any;
declare function xdescribe(): any;

declare function beforeEach(): any;
declare function afterEach(): any;
declare function beforeAll(): any;
declare function afterAll(): any;

declare function it(): any;
declare function fit(): any;
declare function xit(): any;

declare function expect(): any;
declare function spyOn(): any;
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"extract-text-webpack-plugin": "^1.0.1",
"file-loader": "^0.9.0",
"flow-bin": "0.32.0",
"flowtype-interfaces-sagui": "0.1.0",
"fs-extra": "^0.30.0",
"html-webpack-plugin": "^2.7.2",
"jasmine-core": "^2.5.1",
Expand Down
2 changes: 1 addition & 1 deletion template/dot-files/flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[include]

[libs]
node_modules/flowtype-interfaces-sagui/interfaces/
node_modules/sagui/flowtype-interfaces/

[options]
module.system=haste

0 comments on commit cfcce57

Please sign in to comment.