MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.
How to get Nullish coalescing operator working in a module?
-
My module would import other people’s code, which include Nullish coalescing operator. When I run the code it gives me error.
I would like to know how could I add Nullish coalescing operator support, which is in Typescript 3.7?
Thanks in advnace
-
@winstonma according to the spec, u need node version 14 or above
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operatorand some work by the browser, altho I can’t find any info on electron support