mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Remove any-union
This commit is contained in:
+3
-3
@@ -167,8 +167,8 @@ export class Config {
|
||||
constructor(configurations?: object, defaultConfigurations?: object);
|
||||
define(name: object): void;
|
||||
define(name: string, value: any): void;
|
||||
get(name: string): any | undefined;
|
||||
set(name: string, value: any | undefined): void;
|
||||
get(name: string): any /*| undefined*/;
|
||||
set(name: string, value: any /*| undefined*/): void;
|
||||
}
|
||||
|
||||
// utils/count
|
||||
@@ -224,7 +224,7 @@ export namespace env {
|
||||
export class EventInfo<T> {
|
||||
readonly name: string;
|
||||
readonly path: object[];
|
||||
return: any | undefined;
|
||||
return: any /*| undefined*/;
|
||||
readonly source: T;
|
||||
|
||||
constructor(source: T, name: string);
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
|
||||
]
|
||||
},
|
||||
"no-any-union": false,
|
||||
"quotemark": [
|
||||
true,
|
||||
"double",
|
||||
|
||||
Reference in New Issue
Block a user