This commit is contained in:
Amir.Tugi@Gmail.com
2018-05-23 10:59:20 +03:00
parent c1e00e25e9
commit 81089459ca
3 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import * as express from 'express';
import express from 'express';
import * as paginate from 'express-paginate';
declare function findAndCountAll(params: object): Promise<{count: number, rows: object[]}>;

View File

@@ -4,7 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
import * as express from 'express';
import express = require("express");
declare global {
namespace Express {

View File

@@ -8,6 +8,7 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"esModuleInterop": true,
"baseUrl": "../",
"typeRoots": [
"../"