Create new type definition for 'ms' (#4057)

* Create new type definition for 'ms'

* Follow lint
This commit is contained in:
Acid Chicken (硫酸鶏) 2019-02-02 00:16:27 +09:00 committed by syuilo
parent 9c106022ae
commit da1a238be3
14 changed files with 24 additions and 13 deletions

View file

@ -1,4 +1,4 @@
const ms = require('ms');
import * as ms from 'ms';
import $ from 'cafy'; import ID, { transform } from '../../../../../misc/cafy-id';
import { validateFileName, pack } from '../../../../../models/drive-file';
import create from '../../../../../services/drive/add-file';