Skip to content

Commit 37b5c64

Browse files
authored
Prevent TypeScript from checking generated files for errors (#197)
This PR adds `@ts-nocheck` to the top of the generated TypeScript output files, which stops tsc from typechecking them. https://www.typescriptlang.org/docs/handbook/intro-to-js-ts.html#ts-check
1 parent 93aa185 commit 37b5c64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

crates/ubrn_bindgen/src/bindings/gen_typescript/templates/wrapper-ffi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-nocheck
12
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
23
// Trust me, you don't want to mess with it!
34

crates/ubrn_bindgen/src/bindings/gen_typescript/templates/wrapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @ts-nocheck
12
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
23
// Trust me, you don't want to mess with it!
34
{%- if flavor.is_jsi() %}

0 commit comments

Comments
 (0)