summaryrefslogtreecommitdiff
path: root/src/chart
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2019-02-01 21:08:49 +0900
committerGitHub <noreply@github.com>2019-02-01 21:08:49 +0900
commit3b30ad5404f458331133e659a04f95e0973d18a8 (patch)
tree4d6ef4e1cade2533ee320a650dbf6b674494fd7c /src/chart
parentUpdate @fortawesome/free-regular-svg-icons requirement (#4076) (diff)
downloadmisskey-3b30ad5404f458331133e659a04f95e0973d18a8.tar.gz
misskey-3b30ad5404f458331133e659a04f95e0973d18a8.tar.bz2
misskey-3b30ad5404f458331133e659a04f95e0973d18a8.zip
Create type definition for 'nested-property' (#4004)
* Create type definition for 'nested-property' * Follow lint
Diffstat (limited to 'src/chart')
-rw-r--r--src/chart/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chart/index.ts b/src/chart/index.ts
index b550e5eb4b..3869224d09 100644
--- a/src/chart/index.ts
+++ b/src/chart/index.ts
@@ -3,7 +3,7 @@
*/
import * as moment from 'moment';
-const nestedProperty = require('nested-property');
+import * as nestedProperty from 'nested-property';
import autobind from 'autobind-decorator';
import * as mongo from 'mongodb';
import db from '../db/mongodb';