Create type definition for '*/package.json' (#4014)

* Create type definition for '*/package.json'

* Update tsconfig.json
This commit is contained in:
Acid Chicken (硫酸鶏)
2019-01-31 01:08:43 +09:00
committed by GitHub
parent 8dc7f28744
commit e909eac296
6 changed files with 9 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ import notesStats from './daemons/notes-stats';
import loadConfig from './config/load';
import { Config } from './config/types';
import { lessThan } from './prelude/array';
import * as pkg from '../package.json';
const clusterLog = debug('misskey:cluster');
const ev = new Xev();
@@ -31,8 +32,6 @@ if (process.env.NODE_ENV != 'production' && process.env.DEBUG == null) {
debug.enable('misskey');
}
const pkg = require('../package.json');
//#region Command line argument definitions
program
.version(pkg.version)