microting/ngx-charts

View on GitHub
demo/libs.ts

Summary

Maintainability
A
0 mins
Test Coverage
import 'core-js';
import 'zone.js/dist/zone';
// import 'ts-helpers';

// angular
import { disableDebugTools } from '@angular/platform-browser';
import { enableProdMode } from '@angular/core';
import '@angular/platform-browser-dynamic';
import '@angular/common';
import 'web-animations-js';

let _decorateModuleRef = function identity<T>(value: T): T { return value; };

if(IS_PRODUCTION) {
  enableProdMode();
  _decorateModuleRef = (modRef: any) => {
    disableDebugTools();
    return modRef;
  };
}

if(IS_DEV) {
  Error.stackTraceLimit = Infinity;
  require('zone.js/dist/long-stack-trace-zone');
}