mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-02 06:29:40 +08:00
CR Fix
This commit is contained in:
@@ -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[]}>;
|
||||
|
||||
2
types/express-paginate/index.d.ts
vendored
2
types/express-paginate/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"esModuleInterop": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user