mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Removed type queries used on interface members.
typeof cannot be used on members within an interface. It is currently permitted due to bug in the TypeScript compiler.
This commit is contained in:
Vendored
-1
@@ -30,7 +30,6 @@ interface HandlebarsCommon {
|
||||
|
||||
logger: Logger;
|
||||
log(level: number, obj: any): void;
|
||||
Logger: typeof Logger;
|
||||
}
|
||||
|
||||
interface HandlebarsStatic extends HandlebarsCommon {
|
||||
|
||||
Vendored
+1
-1
@@ -256,7 +256,7 @@ declare module Siesta {
|
||||
|
||||
target?: any;
|
||||
|
||||
el?: typeof target;
|
||||
el?: any;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user