Use import = require syntax.

This commit is contained in:
Daniel Rosenwasser 2017-11-06 10:32:32 -08:00 committed by GitHub
parent 87c3e156e7
commit c4de034603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
import * as router from 'koa-joi-router';
import router = require('koa-joi-router');
const { Joi } = router;