const Application = require('thinkjs');
const typescript = require('think-typescript');
const watcher = require('think-watcher');
const notifier = require('node-notifier');

const instance = new Application({
  ROOT_PATH: __dirname,
  watcher: watcher,
  transpiler: [typescript, {
    compilerOptions: {
      module: 'commonjs',
      target: 'es2016',
      sourceMap: true,
      noImplicitAny: true,
      removeComments: true,
      preserveConstEnums: true,
      suppressImplicitAnyIndexErrors: true,
      sourceMap: true
    }
  }],
  notifier: notifier.notify.bind(notifier),
  env: 'development'
});

instance.run();

const Application = require('thinkjs');
const typescript = require('think-typescript');
const watcher = require('think-watcher');
const notifier = require('node-notifier');

const instance = new Application({
  ROOT_PATH: __dirname,
  watcher: watcher,
  transpiler: [typescript, {
    compilerOptions: {
      module: 'commonjs',
      target: 'es2016',
      sourceMap: true,
      noImplicitAny: true,
      removeComments: true,
      preserveConstEnums: true,
      suppressImplicitAnyIndexErrors: true
    }
  }],
  notifier: notifier.notify.bind(notifier),
  env: 'development'
});

instance.run();

Remove duplicate item