fix ts errors

This commit is contained in:
sawka
2023-04-05 15:30:38 -07:00
parent 8c0b9bfa80
commit 5bad7b633f
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -9,10 +9,15 @@ import * as util from "./util";
import {windowWidthToCols, windowHeightToRows, termWidthFromCols, termHeightFromRows} from "./textmeasure";
import {WebShareWSControl} from "./webshare-ws";
// @ts-ignore
let PROMPT_DEV = __PROMPT_DEV__;
// @ts-ignore
let PROMPT_VERSION = __PROMPT_VERSION__;
// @ts-ignore
let PROMPT_BULILD = __PROMPT_BUILD__;
// @ts-ignore
let PROMPT_API_ENDPOINT = __PROMPT_API_ENDPOINT__;
// @ts-ignore
let PROMPT_WSAPI_ENDPOINT = __PROMPT_WSAPI_ENDPOINT__;
type OV<V> = mobx.IObservableValue<V>;
+3
View File
@@ -7,8 +7,11 @@ import {loadFonts} from "./util";
import {WebShareModel} from "./webshare-model";
import * as textmeasure from "./textmeasure";
// @ts-ignore
let PROMPT_DEV = __PROMPT_DEV__;
// @ts-ignore
let PROMPT_VERSION = __PROMPT_VERSION__;
// @ts-ignore
let PROMPT_BUILD = __PROMPT_BUILD__;
loadFonts();