site/js/calc/App.ts

18 lines
369 B
TypeScript
Raw Normal View History

2024-03-24 21:31:02 +00:00
import { InputFieldCache } from "../Cache";
export class App {
private state: Node;
private inputFieldCache: InputFieldCache;
constructor(state: Node) {
this.state = state;
}
async cache(): Promise<InputFieldCache> {
return new InputFieldCache();
}
async run() {
this.inputFieldCache = await this.cache();
}
}