From 536c59ad6db0b42f82ff7147b223a5a2d2a65adf Mon Sep 17 00:00:00 2001 From: Daniel Salinas Date: Mon, 19 Aug 2024 16:36:28 -0400 Subject: [PATCH] Address macro generation warning --- .../bindings/react_native/gen_typescript/templates/macros.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ubrn_bindgen/src/bindings/react_native/gen_typescript/templates/macros.ts b/crates/ubrn_bindgen/src/bindings/react_native/gen_typescript/templates/macros.ts index 60e9abad..6aef16c9 100644 --- a/crates/ubrn_bindgen/src/bindings/react_native/gen_typescript/templates/macros.ts +++ b/crates/ubrn_bindgen/src/bindings/react_native/gen_typescript/templates/macros.ts @@ -246,6 +246,6 @@ import { decl_type_name } from "./EnumTemplate" {%- macro type_omit_instanceof(type_name, decl_type_name) %} export type {{ type_name }} = InstanceType< - typeof {{ decl_type_name }}[keyof Omit] + typeof {{ decl_type_name }}[keyof Omit] >; {%- endmacro %}