I'm trying to use ng2-logger (v2.0.26) in a personal library, but each time I try to compile it with Rollup I get this error:
error TS4029: Public property 'log' of exported class has or is using name 'Logger' from external module "[...]/node_modules/ng2-logger/logger" but cannot be named.
I tried adding export * from './logger'; to index.d.ts and __export(require("./logger")); to index.js and it all worked.
Hello.
I'm trying to use ng2-logger (v2.0.26) in a personal library, but each time I try to compile it with Rollup I get this error:
error TS4029: Public property 'log' of exported class has or is using name 'Logger' from external module "[...]/node_modules/ng2-logger/logger" but cannot be named.
I tried adding
export * from './logger';
to index.d.ts and__export(require("./logger"));
to index.js and it all worked.Thanks a lot for the library.