knex: use import = require() syntax

This commit is contained in:
Jeff Kenney
2017-01-26 14:38:09 +09:00
committed by Karol Janyst
parent e7a3df0365
commit ac045ed202
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -6,8 +6,8 @@
/// <reference types="bluebird" />
/// <reference types="node" />
import * as events from "events";
import * as Promise from "bluebird";
import events = require("events");
import Promise = require("bluebird");
type Callback = Function;
type Client = Function;
+3 -3
View File
@@ -1,7 +1,7 @@
"use strict";
import * as Knex from 'knex';
import * as Promise from 'bluebird';
import * as _ from 'lodash';
import Knex = require('knex');
import Promise = require('bluebird');
import _ = require('lodash');
// Initializing the Library
var knex = Knex({