Phú
Phú
`index.js` ``` javascript require('6to5/register')({ loose : ['forOf'], whitelist: ['forOf'], }); require('./test.js'); ``` `test.js` ``` javascript for (let item of [1]) console.log(item); ``` Run with node.js 0.11.14 in Harmony mode: ```...
I just want to use `moment`: ```js import * as moment from 'moment'; moment.locale('en-au'); // this works fine moment('2017-05-30'); // `rollup` failed with error "Cannot call a namespace" ``` So...
I tried to use `myElement.getText().should.eventually.equal("foo")` as in the [chai-as-promised manual](http://chaijs.com/plugins/chai-as-promised), but got `TypeError: Cannot read property 'eventually' of undefined`. This is not a problem with `chai-as-promised` either, because `myElement.getText().should.equal("foo")` failed...
**What version of TypeScript are you using?** TypeScript 2.2 **What version of `typescript-eslint-parser` are you using?** `typescript-eslint-parser` 2.1 **What code were you trying to parse?** ```js class World { batman(...args);...