diff options
| author | 2026-03-18 12:12:45 +0800 | |
|---|---|---|
| committer | 2026-03-18 12:14:09 +0800 | |
| commit | e8929b27444908b1f90b9ed3a4d52c5fd63fdf8c (patch) | |
| tree | 81570f4d4eed56c576530c9ea028fd2aa822820e /src-tauri/src/main.rs | |
| parent | 8c913f2685383bcfa154c947a43571a8d33679ae (diff) | |
| download | DropOut-e8929b27444908b1f90b9ed3a4d52c5fd63fdf8c.tar.gz DropOut-e8929b27444908b1f90b9ed3a4d52c5fd63fdf8c.zip | |
fix(macro): update ts export macro
https://github.com/HydroRoll-Team/DropOut/pull/117#discussion_r2922886584
Diffstat (limited to 'src-tauri/src/main.rs')
| -rw-r--r-- | src-tauri/src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 9d4d17c..63287cd 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -68,8 +68,9 @@ impl GameProcessState { } } -#[derive(Debug, Clone, Serialize)] +#[derive(Debug, Clone, Serialize, TS)] #[serde(rename_all = "camelCase")] +#[ts(export, export_to = "core.ts")] struct GameExitedEvent { instance_id: String, version_id: String, |