Gbuomprisco / ng2-material-select

Angular 2 Material-like Select Component
35 stars 14 forks source link

Missing Ng2SelectModule and Ng2Select duplicated on index.js #11

Closed leocaseiro closed 8 years ago

leocaseiro commented 8 years ago

Hi @Gbuomprisco,

As I mentioned in #4, I'm having some issues in my editor with the declaration type and I believe that's the reason @maryamsoprano is having issues with SystemJS(I'm not sure btw).

The newest version ng2-material-select@0.0.9 it's coming with a duplicated Ng2Select instead of the Ng2SelectModule on ./index.js generated by webpack, so my editor complains about the NgModule.

index.js

"use strict";
const Ng2Select = require('./dist/ng2-select.bundle.js').Ng2Select;
exports.Ng2Select = Ng2Select;
exports.Ng2Select = Ng2Select;
//# sourceMappingURL=index.js.map

Editor (phpstorm/webstorm)

screen shot 2016-09-30 at 11 32 18 am
Gbuomprisco commented 8 years ago

Hi @leocaseiro, I updated the library. Does that still happen to you? Thanks!

leocaseiro commented 8 years ago

Hi @Gbuomprisco, thank you so much for doing that!

The version ng2-material-select@0.1.0 is working perfectly and the declaration is good.

Hope help others too.