Remove any-union

This commit is contained in:
denis
2018-11-08 23:29:13 +01:00
parent 091d52d9d2
commit 164ce732e4
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -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",