From 1f08650c43440b7425bd9d1a9e1d9bd15b68aa7d Mon Sep 17 00:00:00 2001 From: Makito Date: Sun, 6 Jul 2025 00:32:16 +0900 Subject: [PATCH] fix(stage-tamagotchi): add ts-nocheck to codegen outputs --- .../src-tauri/src/plugins/window_pass_through_on_hover/mod.rs | 2 +- .../src-tauri/src/plugins/window_router_link/mod.rs | 2 +- .../src/commands/bindings/window-pass-through-on-hover.ts | 1 + .../src/commands/bindings/window-router-link.ts | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/stage-tamagotchi/src-tauri/src/plugins/window_pass_through_on_hover/mod.rs b/apps/stage-tamagotchi/src-tauri/src/plugins/window_pass_through_on_hover/mod.rs index db88e3f6d..d8197e1e9 100644 --- a/apps/stage-tamagotchi/src-tauri/src/plugins/window_pass_through_on_hover/mod.rs +++ b/apps/stage-tamagotchi/src-tauri/src/plugins/window_pass_through_on_hover/mod.rs @@ -140,7 +140,7 @@ pub fn init() -> TauriPlugin { #[cfg(debug_assertions)] builder .export( - Typescript::default(), + Typescript::default().header("// @ts-nocheck\n"), "../src/commands/bindings/window-pass-through-on-hover.ts", ) .expect("Failed to export typescript bindings"); diff --git a/apps/stage-tamagotchi/src-tauri/src/plugins/window_router_link/mod.rs b/apps/stage-tamagotchi/src-tauri/src/plugins/window_router_link/mod.rs index 5156ea8e9..045b527b8 100644 --- a/apps/stage-tamagotchi/src-tauri/src/plugins/window_router_link/mod.rs +++ b/apps/stage-tamagotchi/src-tauri/src/plugins/window_router_link/mod.rs @@ -61,7 +61,7 @@ pub fn init() -> TauriPlugin { #[cfg(debug_assertions)] builder .export( - Typescript::default(), + Typescript::default().header("// @ts-nocheck\n"), "../src/commands/bindings/window-router-link.ts", ) .expect("Failed to export typescript bindings"); diff --git a/apps/stage-tamagotchi/src/commands/bindings/window-pass-through-on-hover.ts b/apps/stage-tamagotchi/src/commands/bindings/window-pass-through-on-hover.ts index a9f465f55..589c4981b 100644 --- a/apps/stage-tamagotchi/src/commands/bindings/window-pass-through-on-hover.ts +++ b/apps/stage-tamagotchi/src/commands/bindings/window-pass-through-on-hover.ts @@ -1,3 +1,4 @@ +// @ts-nocheck // This file was generated by [tauri-specta](https://github.com/oscartbeaumont/tauri-specta). Do not edit this file manually. diff --git a/apps/stage-tamagotchi/src/commands/bindings/window-router-link.ts b/apps/stage-tamagotchi/src/commands/bindings/window-router-link.ts index a6ab9f939..e89aefca1 100644 --- a/apps/stage-tamagotchi/src/commands/bindings/window-router-link.ts +++ b/apps/stage-tamagotchi/src/commands/bindings/window-router-link.ts @@ -1,3 +1,4 @@ +// @ts-nocheck // This file was generated by [tauri-specta](https://github.com/oscartbeaumont/tauri-specta). Do not edit this file manually.