-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
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
Nullish coalescing operator (??) #111
Comments
Optional chaining doesn't work either |
I confirm. Is this repo still maintained? |
Not by me. I gave admin rights to @aidistan who have been maintaining for quite some time (thanks for that!) Dunno about current status, haven't seen much activity lately… I wouldn't wanna be any kind of blocker so if someone is invested, I'll hand the torch. Probably better with more active maintainers too… |
This issue is caused by language-javascript and is not related to If you don't use the tree-sitter parser, then you can apply the changes from the PR with the following commands: git clone https://github.com/icecream17/language-javascript.git
cd ./language-javascript
git checkout operators
rm ./grammars/tree-sitter*
npm install # ignore node-gyp errors |
For anyone who stumbles across this from Google like I did, the known workaround is to install Edit: this solves it for the script portion of a single-file component, but doesn't seem to fix it for use within a template. I'll probably work around this by using computed values instead of using optional chaining within props. |
Sorry, but it didn't work for me... |
Syntax highlight breaks when using
??
operator.The text was updated successfully, but these errors were encountered: