MCPcopy Create free account
hub / github.com/stackblitz/bolt.new / constructor

Method constructor

app/lib/stores/editor.ts:23–30  ·  view source on GitHub ↗
(filesStore: FilesStore)

Source from the content-addressed store, hash-verified

21 });
22
23 constructor(filesStore: FilesStore) {
24 this.#filesStore = filesStore;
25
26 if (import.meta.hot) {
27 import.meta.hot.data.documents = this.documents;
28 import.meta.hot.data.selectedFile = this.selectedFile;
29 }
30 }
31
32 setDocuments(files: FileMap) {
33 const previousDocuments = this.documents.value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected