mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-29 09:08:58 +00:00
Update rust-machine.ts
This commit is contained in:
@@ -120,7 +120,7 @@ function apply_muts(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('inspector-dom-changed', (event: CustomEvent) => {
|
document.addEventListener('inspector-dom-changed', (event) => {
|
||||||
// Cast the event to the InspectorDomChanged type to access its details in TypeScript
|
// Cast the event to the InspectorDomChanged type to access its details in TypeScript
|
||||||
const customEvent = event as InspectorDomChanged;
|
const customEvent = event as InspectorDomChanged;
|
||||||
// Now you can access the detail property, which is either a string or null
|
// Now you can access the detail property, which is either a string or null
|
||||||
|
|||||||
Reference in New Issue
Block a user