You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
I tried using zone.js in webpack , see my codes here: import "reflect-metadata"; import "zone.js"; import { Component } from '@angular/core'; import { bootstrap } from '@angular/platform-browser-dynamic';
error TS2656: Exported external package typings file '/Users/pjl/ng2-webpack-seed/node_modules/zone.js/dist/zone.js.
d.ts' is not a module. Please contact the package author to update the package definition.
The text was updated successfully, but these errors were encountered:
I tried using zone.js in webpack , see my codes here:
import "reflect-metadata";
import "zone.js";
import { Component } from '@angular/core';
import { bootstrap } from '@angular/platform-browser-dynamic';
@Component({
selector: 'my-app',
template: '\<h1\>for test\</h1\>'
})
class AppComponent { }
bootstrap(AppComponent);
the typescript compiler throw error:
error TS2656: Exported external package typings file '/Users/pjl/ng2-webpack-seed/node_modules/zone.js/dist/zone.js.
d.ts' is not a module. Please contact the package author to update the package definition.
The text was updated successfully, but these errors were encountered: