diff --git a/packages/react-native/ReactCommon/yoga/yoga/YGMacros.h b/packages/react-native/ReactCommon/yoga/yoga/YGMacros.h index b4e4e95fae26e8..cd137117d27d52 100644 --- a/packages/react-native/ReactCommon/yoga/yoga/YGMacros.h +++ b/packages/react-native/ReactCommon/yoga/yoga/YGMacros.h @@ -22,7 +22,7 @@ #if defined(__cplusplus) #define YG_DEPRECATED(message) [[deprecated(message)]] #elif defined(_MSC_VER) -#define YG_DEPRECATED(message) __declspec(depreacted(message)) +#define YG_DEPRECATED(message) __declspec(deprecated(message)) #else #define YG_DEPRECATED(message) __attribute__((deprecated(message))) #endif