Unify ESLint and Prettier across xplat/yoga
(#1335)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1335 Reviewed By: christophpurrer Differential Revision: D47459866 fbshipit-source-id: a583da91ea0f3c6a01917edc5ecf57eb177b2544
This commit is contained in:
committed by
Facebook GitHub Bot
parent
05b2edfb85
commit
4b2b1e86b7
6
javascript/src/wrapAssembly.d.ts
vendored
6
javascript/src/wrapAssembly.d.ts
vendored
@@ -81,7 +81,11 @@ export type MeasureFunction = (
|
||||
) => Size;
|
||||
|
||||
export type Node = {
|
||||
calculateLayout(width?: number, height?: number, direction?: Direction): void;
|
||||
calculateLayout(
|
||||
width?: number | 'auto',
|
||||
height?: number | 'auto',
|
||||
direction?: Direction,
|
||||
): void;
|
||||
copyStyle(node: Node): void;
|
||||
free(): void;
|
||||
freeRecursive(): void;
|
||||
|
Reference in New Issue
Block a user