Comments (3)
This could be tricky, since at the moment we are using goog.require
to define stand-in types for required names. If we were going to do validation, we would have to depend on a file finder, and flag an error if the name wasn't found.
I'm not sure that we will be able to identify classes that aren't provided reliably enough to provide helpful lint errors.
from tern-closure.
If we were going to do validation, we would have to depend on a file finder, and flag an error if the name wasn't found.
What is the problem with file finder? If you tell me that file finder is the solution, tern lint can manage that because you can define your own lint function.
from tern-closure.
The challenge is that a finder isn't always present, and also that finders operate asynchronously. We could probably make it work, though.
from tern-closure.
Related Issues (20)
- Function type expression support
- Expose type nullability information
- Support union types HOT 2
- Support optional argument types
- Support varargs
- Interface multiple inheritance
- Minimal requirements loading HOT 1
- Include condensed type definition file of Closure library HOT 2
- Support generics
- Issues with JSDoc types missing braces.
- Support autocompletion of names in comments
- Support go-to-definition for type strings in JSDoc and goog.require
- Go-to-overriden-method
- Completion for object litteral HOT 2
- Document installation with tern.java HOT 3
- Include Closure base.js definitions
- TypeError: Cannot read property 'name' of null HOT 2
- tern-closure requires version of tern too old HOT 8
- Add support for goog.module HOT 1
- tern-closure and atom-tern HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tern-closure.