Finished migration to TypeScript, temporary disabled char creator
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
class InputHelper {
|
||||
constructor(title) {
|
||||
export default class InputHelper {
|
||||
title: string;
|
||||
value: string;
|
||||
created: boolean;
|
||||
browser: BrowserMp;
|
||||
|
||||
constructor(title: string) {
|
||||
this.title = title;
|
||||
|
||||
this.cefTitleCall = this.cefTitleCall.bind(this);
|
||||
@@ -57,7 +62,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
async getValue(callback) {
|
||||
async getValue(callback: Function) {
|
||||
var getVal = await this.valueGetter();
|
||||
callback(getVal);
|
||||
}
|
||||
Reference in New Issue
Block a user