mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +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
|
||||
const customEvent = event as InspectorDomChanged;
|
||||
// Now you can access the detail property, which is either a string or null
|
||||
|
||||
Reference in New Issue
Block a user