From 8c60fb0924f14589af172679fa91a75abf9a7d8c Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Thu, 19 Oct 2023 19:17:46 -0700 Subject: [PATCH] . --- javascript/src/wrapAssembly.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/src/wrapAssembly.ts b/javascript/src/wrapAssembly.ts index 0d55a2c6..c9a9b56b 100644 --- a/javascript/src/wrapAssembly.ts +++ b/javascript/src/wrapAssembly.ts @@ -24,7 +24,7 @@ import type { Overflow, PositionType, Wrap, -} from './generated/YGEnums'; +} from './generated/YGEnums.ts'; type Layout = { left: number; @@ -179,7 +179,7 @@ export type Yoga = { }; } & typeof YGEnums; -export default function wrapAssembly(lib: unknown): Yoga { +export default function wrapAssembly(lib: any): Yoga { function patch(prototype, name, fn) { const original = prototype[name];