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
declaring multiple vars at once is quite repetitive right now e.g.:
const a = createVar() const b = createVar() const c = createVar()
maybe we could create a new helper createVars which would allow to use the spread operator to declare multiple vars at the same time:
createVars
export function* createVars<TValue = string> () { while(1) { yield createVar<TValue>() }}
const [a,b,c] = createVars();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
declaring multiple vars at once is quite repetitive right now e.g.:
maybe we could create a new helper
createVars
which would allow to use the spread operator to declare multiple vars at the same time:The text was updated successfully, but these errors were encountered: