mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Apply suggestions from code review
Co-authored-by: Ethan Arrowood <ethan.arrowood@gmail.com>
This commit is contained in:
parent
5cb8ffc307
commit
4703d29eb0
2
types/history/index.d.ts
vendored
2
types/history/index.d.ts
vendored
@ -49,7 +49,7 @@ export namespace History {
|
||||
// Now that TypeScript's DT support is 3.0+, we can look into replacing this with `unknown`.
|
||||
type UnknownFacade = {} | null | undefined;
|
||||
|
||||
/** @deprecated - UnknownFacade is more clear about what's going on */
|
||||
/** @deprecated - Use `UnknownFacade` instead. It is a better classifier for the type */
|
||||
type PoorMansUnknown = UnknownFacade
|
||||
|
||||
export type LocationState = UnknownFacade;
|
||||
|
||||
2
types/node/v11/globals.d.ts
vendored
2
types/node/v11/globals.d.ts
vendored
@ -1141,6 +1141,6 @@ declare namespace NodeJS {
|
||||
// Now that TypeScript's DT support is 3.0+, we can look into replacing this with `unknown`.
|
||||
type UnknownFacade = {} | null | undefined;
|
||||
|
||||
/** @deprecated - UnknownFacade is more clear about what's going on */
|
||||
/** @deprecated - Use `UnknownFacade` instead. It is a better classifier for the type */
|
||||
type PoorMansUnknown = UnknownFacade
|
||||
}
|
||||
|
||||
2
types/node/v12/globals.d.ts
vendored
2
types/node/v12/globals.d.ts
vendored
@ -1180,6 +1180,6 @@ declare namespace NodeJS {
|
||||
// Now that TypeScript's DT support is 3.0+, we can look into replacing this with `unknown`.
|
||||
type UnknownFacade = {} | null | undefined;
|
||||
|
||||
/** @deprecated - UnknownFacade is more clear about what's going on */
|
||||
/** @deprecated - Use `UnknownFacade` instead. It is a better classifier for the type */
|
||||
type PoorMansUnknown = UnknownFacade
|
||||
}
|
||||
|
||||
2
types/qs/index.d.ts
vendored
2
types/qs/index.d.ts
vendored
@ -61,7 +61,7 @@ declare namespace QueryString {
|
||||
// When these types support TypeScript 3.0+, we can replace this with `unknown`.
|
||||
type UnknownFacade = {} | null | undefined;
|
||||
|
||||
/** @deprecated - UnknownFacade is more clear about what's going on */
|
||||
/** @deprecated - Use `UnknownFacade` instead. It is a better classifier for the type */
|
||||
type PoorMansUnknown = UnknownFacade
|
||||
|
||||
function stringify(obj: any, options?: IStringifyOptions): string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user