Breaking: Remove "UseLegacyStretchBehaviour" functions (#1368)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1368 X-link: https://github.com/facebook/react-native/pull/39372 These were marked as deprecated as part of the public Yoga 2.0 release, and were alredy emitting deprecation warnings. Remove them. Reviewed By: javache Differential Revision: D49131250 fbshipit-source-id: cc1d4e8b179697b9a11a685f4fc4e9d36e1a26a0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a2d3fc6a3c
commit
c35f8819ae
12
javascript/src/wrapAssembly.d.ts
vendored
12
javascript/src/wrapAssembly.d.ts
vendored
@@ -53,18 +53,6 @@ export type Config = {
|
||||
enabled: boolean,
|
||||
): void;
|
||||
setPointScaleFactor(factor: number): void;
|
||||
/**
|
||||
* @deprecated Please use "getErrata()"
|
||||
*/
|
||||
useLegacyStretchBehaviour(): boolean;
|
||||
/**
|
||||
* @deprecated "setUseLegacyStretchBehaviour" will be removed in the next
|
||||
* release. Usage should be replaced with "setErrata(ERRATA_ALL)" to opt out
|
||||
* of all future breaking conformance fixes, or
|
||||
* "setErrata(ERRATA_STRETCH_FLEX_BASIS)" to opt out of the specific
|
||||
* conformance fix previously disabled by "UseLegacyStretchBehaviour".
|
||||
*/
|
||||
setUseLegacyStretchBehaviour(useLegacyStretchBehaviour: boolean): void;
|
||||
getErrata(): Errata;
|
||||
setErrata(errata: Errata): void;
|
||||
useWebDefaults(): boolean;
|
||||
|
Reference in New Issue
Block a user