I use the Scott map in the angular2 project of mass point API,When I run
npm run build:prod
An error has occurred,The following is a relevant code and exceptions (added:There is no question of npm start
command)
/**
* Custom grouping rendering engine, for example, only function similar to
PointSimplifier.Render.Canvas.GroupStyleRender
* @param {PointSimplifier} pointSimplifierIns The associated
PointSimplifier instance
* @param {Object} opts configuration
*/
function MyCanvasRender(pointSimplifierIns, opts) {
// Direct call the superclass constructor
MyCanvasRender.__super__.constructor.apply(this, arguments);
}
error info:
[at-loader] Checking started in a separate process...
[at-loader] Checking finished with 6 errors Error in bail mode: [at-loader] ./src/app/pages/map/massive/massive.component.ts:39:24 TS2339: Property 'super' does not exist on type '(pointSimplifierIns: any, opts: any) => void'.