.
This commit is contained in:
@@ -24,7 +24,7 @@ import type {
|
|||||||
Overflow,
|
Overflow,
|
||||||
PositionType,
|
PositionType,
|
||||||
Wrap,
|
Wrap,
|
||||||
} from './generated/YGEnums';
|
} from './generated/YGEnums.ts';
|
||||||
|
|
||||||
type Layout = {
|
type Layout = {
|
||||||
left: number;
|
left: number;
|
||||||
@@ -179,7 +179,7 @@ export type Yoga = {
|
|||||||
};
|
};
|
||||||
} & typeof YGEnums;
|
} & typeof YGEnums;
|
||||||
|
|
||||||
export default function wrapAssembly(lib: unknown): Yoga {
|
export default function wrapAssembly(lib: any): Yoga {
|
||||||
function patch(prototype, name, fn) {
|
function patch(prototype, name, fn) {
|
||||||
const original = prototype[name];
|
const original = prototype[name];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user