solnet-aquarium / flow-interfaces-angular

Flow interfaces for Angular JS
6 stars 4 forks source link

Not typechecking #3

Open ptarjan opened 9 years ago

ptarjan commented 9 years ago

If I use your code, I get:

$ flow

interfaces/angular.js: Library type error:
interfaces/angular.js: inconsistent use of library definitions
interfaces/angular.js:17:47,68: css
Property not found in
interfaces/angular.js:8:1,11:1: statics of AngularJSCallbacks

interfaces/angular.js: Library type error:
interfaces/angular.js: inconsistent use of library definitions
interfaces/angular.js:39:45,71: iterator
Property not found in
interfaces/angular.js:8:1,11:1: statics of AngularJSCallbacks

interfaces/angular.js: Library type error:
interfaces/angular.js: inconsistent use of library definitions
interfaces/angular.js:40:45,71: iterator
Property not found in
interfaces/angular.js:8:1,11:1: statics of AngularJSCallbacks

interfaces/angular.js:2:35,39: Library type error:
interfaces/angular.js:2:35,39:
Incorrect number of type parameters (expected 1)

www/js/directory/initialize.js:5:1,42: call of method module
Function cannot be called on
interfaces/angular.js:42:3,8: AngularJS

Found 5 errors
faceleg commented 9 years ago

I no longer use flow - I'd be happy to merge a PR though!

ptarjan commented 9 years ago

@faceleg what do you use instead?

faceleg commented 9 years ago

Just normal JS.

Well, Vim + Tern.

I liked Flow but dislike the hassle of maintaining interface files, and disliked how slow the checking was in Vim+Syntastic.