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
It would be nice if njs supported destructuring/selective style for import: import { export1 , export2 } from "module-name";
import { export1 , export2 } from "module-name";
Without that support, we have to write ugly things, if we need only one or two functions and prefer short naming:
import utils from 'utils.js'; const is_string = utils.is_string; ... if (is_string(x)) { ... }
BTW, it seems to be similar in implementation with destructuring assignment support (var {a, b} = o), which is also desired, but not supported yet.
var {a, b} = o
The text was updated successfully, but these errors were encountered:
lexborisov
No branches or pull requests
It would be nice if njs supported destructuring/selective style for import:
import { export1 , export2 } from "module-name";
Without that support, we have to write ugly things, if we need only one or two functions and prefer short naming:
BTW, it seems to be similar in implementation with destructuring assignment support (
var {a, b} = o
), which is also desired, but not supported yet.The text was updated successfully, but these errors were encountered: