mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #10223 from DefinitelyTyped/fixPackages
Fix packages
This commit is contained in:
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Andreas Gassmann <https://github.com/AndreasGassmann/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
|
||||
Vendored
+2
@@ -3,6 +3,8 @@
|
||||
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
/**
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
interface Request extends CookieSessionInterfaces.CookieSessionRequest {}
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Karl Düüna <https://github.com/DeadAlready/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
interface ErrorCallback {
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Karl Düüna <https://github.com/DeadAlready/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
|
||||
Vendored
+2
@@ -6,6 +6,8 @@
|
||||
|
||||
/// <reference types="easy-jsend" />
|
||||
/// <reference types="bunyan" />
|
||||
/// <reference types="express" />
|
||||
/// <reference types="node" />
|
||||
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
|
||||
Vendored
+2
-1
@@ -3,7 +3,8 @@
|
||||
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
/// <reference types="node" />
|
||||
|
||||
declare namespace Express {
|
||||
interface Response extends ExpressMinifyInterfaces.ExpressMinifyResponse {}
|
||||
|
||||
Vendored
+2
-1
@@ -5,6 +5,7 @@
|
||||
|
||||
|
||||
/// <reference types="node" />
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
|
||||
@@ -69,7 +70,7 @@ declare module "express-session" {
|
||||
regenerate (req: express.Request, fn: (err: any) => any): void;
|
||||
load (sid: string, fn: (err: any, session: Express.Session) => any): void;
|
||||
createSession (req: express.Request, sess: Express.Session): void;
|
||||
|
||||
|
||||
get: (sid: string, callback: (err: any, session: Express.Session) => void) => void;
|
||||
set: (sid: string, session: Express.Session, callback: (err: any) => void) => void;
|
||||
destroy: (sid: string, callback: (err: any) => void) => void;
|
||||
|
||||
Vendored
+3
-2
@@ -3,6 +3,7 @@
|
||||
// Definitions by: Nathan Ridley <https://github.com/axefrog/>, Jonathan Häberle <http://dreampulse.de>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
|
||||
// Add RequestValidation Interface on to Express's Request Interface.
|
||||
@@ -179,12 +180,12 @@ declare namespace ExpressValidator {
|
||||
/**
|
||||
* Decode HTML entities
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Convert the input string to a date, or null if the input is not a date.
|
||||
*/
|
||||
toDate(): Sanitizer;
|
||||
|
||||
|
||||
entityDecode(): Sanitizer;
|
||||
entityEncode(): Sanitizer;
|
||||
/**
|
||||
|
||||
Vendored
+8
-8
@@ -117,12 +117,12 @@ export interface Module {
|
||||
};
|
||||
}
|
||||
|
||||
export { default as createHistory } from "history/lib/createBrowserHistory";
|
||||
export { default as createHashHistory } from "history/lib/createHashHistory";
|
||||
export { default as createMemoryHistory } from "history/lib/createMemoryHistory";
|
||||
export { default as createLocation } from "history/lib/createLocation";
|
||||
export { default as useBasename } from "history/lib/useBasename";
|
||||
export { default as useBeforeUnload } from "history/lib/useBeforeUnload";
|
||||
export { default as useQueries } from "history/lib/useQueries";
|
||||
import * as Actions from "history/lib/actions";
|
||||
export { default as createHistory } from "./lib/createBrowserHistory";
|
||||
export { default as createHashHistory } from "./lib/createHashHistory";
|
||||
export { default as createMemoryHistory } from "./lib/createMemoryHistory";
|
||||
export { default as createLocation } from "./lib/createLocation";
|
||||
export { default as useBasename } from "./lib/useBasename";
|
||||
export { default as useBeforeUnload } from "./lib/useBeforeUnload";
|
||||
export { default as useQueries } from "./lib/useQueries";
|
||||
import * as Actions from "./lib/actions";
|
||||
export { Actions };
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { HistoryOptions, History } from 'history';
|
||||
import { HistoryOptions, History } from '../index';
|
||||
export default function createBrowserHistory(options?: HistoryOptions): History;
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { HistoryOptions, History } from 'history';
|
||||
import { HistoryOptions, History } from '../index';
|
||||
export default function createHashHistory(options?: HistoryOptions): History;
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { Path, LocationState, Action, LocationKey, Location } from 'history';
|
||||
import { Path, LocationState, Action, LocationKey, Location } from '../index';
|
||||
export default function createLocation(path?: Path, state?: LocationState, action?: Action, key?: LocationKey): Location;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { HistoryOptions, History } from 'history';
|
||||
import { HistoryOptions, History } from '../index';
|
||||
export default function createMemoryHistory(options?: HistoryOptions): History;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { CreateHistory } from 'history';
|
||||
import { CreateHistory } from '../index';
|
||||
export default function useBasename<T>(createHistory: CreateHistory<T>): CreateHistory<T>;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { CreateHistory, HistoryBeforeUnload } from 'history';
|
||||
import { CreateHistory, HistoryBeforeUnload } from '../index';
|
||||
export default function useBeforeUnload<T>(createHistory: CreateHistory<T>): CreateHistory<T & HistoryBeforeUnload>;
|
||||
|
||||
Vendored
+1
-1
@@ -1,2 +1,2 @@
|
||||
import { CreateHistory, HistoryQueries } from 'history';
|
||||
import { CreateHistory, HistoryQueries } from '../index';
|
||||
export default function useQueries<T>(createHistory: CreateHistory<T>): CreateHistory<T & HistoryQueries>;
|
||||
+10
-1
@@ -14,6 +14,15 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"history-tests.ts"
|
||||
"history-tests.ts",
|
||||
"lib/actions.d.ts",
|
||||
"lib/createBrowserHistory.d.ts",
|
||||
"lib/createHashHistory.d.ts",
|
||||
"lib/createLocation.d.ts",
|
||||
"lib/createMemoryHistory.d.ts",
|
||||
"lib/DOMUtils.d.ts",
|
||||
"lib/useBasename.d.ts",
|
||||
"lib/useBeforeUnload.d.ts",
|
||||
"lib/useQueries.d.ts"
|
||||
]
|
||||
}
|
||||
+1
@@ -4,6 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="i18next"/>
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace I18next {
|
||||
interface I18nextStatic extends i18nextBrowserLanguageDetector.I18nextStatic { }
|
||||
|
||||
+1
@@ -4,6 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="i18next" />
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace I18next {
|
||||
interface I18nextOptions extends i18nextExpressMiddleware.I18nextOptions { }
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Horiuchi_H <https://github.com/horiuchi/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
/// <reference types="express" />
|
||||
|
||||
declare namespace Express {
|
||||
export interface Request {
|
||||
|
||||
Reference in New Issue
Block a user