We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
what should be the right config for such scenario below with require.js defs + type recognition?
define(["my/lib/Cart"], function(Cart) { var cart = new Cart(); cart //<-- here I try to get the type of cart with "type" query
I want to bring my own definition of Cart with JSON type defiition - should it be done with override option of the requirejs plugin?
new tern.Server({ "plugins": { "requirejs": { "override": { "my/lib/Cart": <my JSON type object> ...
or should it be with additional paths option?
new tern.Server({ "plugins": { "requirejs": { "override": { "Cart": <my JSON type object> }, paths: { "Cart": "my/lib" } ....
Regards, Jacek
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
what should be the right config for such scenario below with require.js defs + type recognition?
I want to bring my own definition of Cart with JSON type defiition - should it be done with override option of the requirejs plugin?
or should it be with additional paths option?
Regards,
Jacek
The text was updated successfully, but these errors were encountered: