Module 'uuid' as import syntax (#4070)

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-01-31 23:45:12 +09:00 committed by syuilo
parent e437cf5ec3
commit 9df3ccbab6
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ import User, { pack, ILocalUser } from '../../../models/user';
import config from '../../../config'; import config from '../../../config';
import { publishMainStream } from '../../../stream'; import { publishMainStream } from '../../../stream';
import redis from '../../../db/redis'; import redis from '../../../db/redis';
import uuid = require('uuid'); import * as uuid from 'uuid';
import signin from '../common/signin'; import signin from '../common/signin';
import fetchMeta from '../../../misc/fetch-meta'; import fetchMeta from '../../../misc/fetch-meta';

View file

@ -6,7 +6,7 @@ import User, { pack, ILocalUser } from '../../../models/user';
import config from '../../../config'; import config from '../../../config';
import { publishMainStream } from '../../../stream'; import { publishMainStream } from '../../../stream';
import redis from '../../../db/redis'; import redis from '../../../db/redis';
import uuid = require('uuid'); import * as uuid from 'uuid';
import signin from '../common/signin'; import signin from '../common/signin';
import fetchMeta from '../../../misc/fetch-meta'; import fetchMeta from '../../../misc/fetch-meta';