From f71f8a936b7b223ab1872c9196eb39c52454baeb Mon Sep 17 00:00:00 2001 From: atlanteh Date: Mon, 16 Oct 2017 15:11:49 -0700 Subject: [PATCH] fix typo - missing 'new' keyword Summary: Fix typo in the documentation - a missing 'new' keyboard [ DOCS ] [ BUGFIX ] [Animations.md] - Fix typo - missing 'new' keyword Closes https://github.com/facebook/react-native/pull/16379 Differential Revision: D6067964 Pulled By: hramos fbshipit-source-id: 8bd47aad252e9baa69cff7f878adfedfd94a5f55 --- docs/Animations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Animations.md b/docs/Animations.md index 05af3dc0d..52b5e939e 100644 --- a/docs/Animations.md +++ b/docs/Animations.md @@ -154,7 +154,7 @@ There are some cases where an animated value needs to invert another animated va An example is inverting a scale (2x --> 0.5x): ```javascript -const a = Animated.Value(1); +const a = new Animated.Value(1); const b = Animated.divide(1, a); Animated.spring(a, {