Finished migration to TypeScript, temporary disabled char creator

This commit is contained in:
hydrant
2019-03-11 22:17:49 +01:00
parent 715cf3c1e6
commit 8ce3fd6f52
71 changed files with 4800 additions and 4627 deletions

View File

@@ -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);
}