Incompatible with Webpack/Typescript/Angular
mtman opened this issue · comments
mtman commented
If I import it,
import 'linq';
I get intellisense, but it doesn't compile:
'Enumerable' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Used with: Webpack, Angular 4, Typescript
Schenn commented
Const enumerable = import("linq")
…On Oct 18, 2017 6:07 AM, "mtman" ***@***.***> wrote:
If I import it,
import 'linq';
I get intellisense, but it doesn't compile:
'Enumerable' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Used with: Webpack, Angular 4, Typescript
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#41>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACM7YPvaxfJERpBCZmWjd76WtRDTCMAlks5stffzgaJpZM4P9rjb>
.
mtman commented
Works, thanks. I can also use
import * as Enumerable from 'linq';
which works with es2015 modules.