How can I work with pure zone.js
API (like Zone.current
or creating new zones by forking) in Angular 2+ & ES2015 Modules? When I do:
import { Zone } from 'zone.js';
I get this error:
file: 'file:///c%3A/Users/InTheZone/src/main.ts'
severity: 'Error'
message: 'File 'c:/Users/InTheZone/node_modules/zone.js/dist/zone.js.d.ts' is not a module.'
at: '3,22'
source: 'ts'
code: '2306'
Typings file is there, but it does no export anything.