Skip to content

Commit

Permalink
Allow debugID key in InterpolationNode config & Support debugID in …
Browse files Browse the repository at this point in the history
…NVE (facebook#48323)

Summary:
Pull Request resolved: facebook#48323

Allow `debugID` key in InterpolationNode config
Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D67185006

fbshipit-source-id: ec0081617103bd4b7bb78210702872a42db26361
  • Loading branch information
zeyap authored and facebook-github-bot committed Dec 18, 2024
1 parent b04d17a commit 2ea9a7b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function validateInterpolation<OutputT: number | string>(
config: InterpolationConfigType<OutputT>,
): void {
for (const key in config) {
if (!isSupportedInterpolationParam(key)) {
if (key !== 'debugID' && !isSupportedInterpolationParam(key)) {
console.error(
`Interpolation property '${key}' is not supported by native animated module`,
);
Expand Down

0 comments on commit 2ea9a7b

Please sign in to comment.