Skip to content

Commit

Permalink
Fix: Support optional string style types (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
brmenchl authored and kmagiera committed Aug 7, 2019
1 parent edaf24c commit ad18e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native-reanimated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ declare module 'react-native-reanimated' {
| S[K]
| AnimatedNode<
// allow `number` where `string` normally is to support colors
S[K] extends string ? S[K] | number : S[K]
S[K] extends (string | undefined) ? S[K] | number : S[K]
>)
};

Expand Down

0 comments on commit ad18e65

Please sign in to comment.