rm some any

This commit is contained in:
Olivier Gagnon
2022-07-14 23:03:54 -04:00
parent 8fe824e8cd
commit 86c0913bd3
6 changed files with 135 additions and 86 deletions
+9 -1
View File
@@ -1 +1,9 @@
export declare let Interpreter: any;
export declare class Interpreter {
constructor(code: string, opt_initFunc: (int: Interpreter, scope: Object) => void, lineOffset?: number);
getProperty(obj: Value, name: Value): Value;
hasProperty(obj: Value, name: Value): boolean;
}
// Object and Value are 2 different things in the interpreter;
export declare type Object = unknown;
export declare type Value = unknown;