mirror of https://github.com/bearfm/site.git
18 lines
369 B
TypeScript
18 lines
369 B
TypeScript
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();
|
|
}
|
|
} |