Skip to content

Commit 3f0c281

Browse files
authored
Merge pull request #113 from Kyonru/master
Ignore Typescript errors to allow tsc check
2 parents fcbabc3 + 0659f91 commit 3f0c281

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/index.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,13 @@ import Animated, {
2626
} from 'react-native-reanimated';
2727
import { styles } from './styles';
2828

29+
// @ts-ignore
2930
import makeVisibleWhite from './assets/make_visible_white.png';
31+
// @ts-ignore
3032
import makeInvisibleWhite from './assets/make_invisible_white.png';
33+
// @ts-ignore
3134
import makeVisibleBlack from './assets/make_visible_black.png';
35+
// @ts-ignore
3236
import makeInvisibleBlack from './assets/make_invisible_black.png';
3337
import { getValueWithCurrencyMask, getValueWithNonCurrencyMask } from './utils';
3438

@@ -335,6 +339,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
335339
duration: animationDuration ? animationDuration : 300,
336340
easing: EasingNode.linear,
337341
}),
342+
// @ts-ignore
338343
timing(fontColorAnimated, {
339344
toValue: 1,
340345
duration: animationDuration ? animationDuration : 300,
@@ -381,6 +386,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
381386
duration: animationDuration ? animationDuration : 300,
382387
easing: EasingNode.linear,
383388
}),
389+
// @ts-ignore
384390
timing(fontColorAnimated, {
385391
toValue: 1,
386392
duration: animationDuration ? animationDuration : 300,
@@ -420,6 +426,7 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
420426
duration: animationDuration ? animationDuration : 300,
421427
easing: EasingNode.linear,
422428
}),
429+
// @ts-ignore
423430
timing(fontColorAnimated, {
424431
toValue: 0,
425432
duration: animationDuration ? animationDuration : 300,
@@ -496,10 +503,13 @@ const FloatingLabelInput: React.ForwardRefRenderFunction<InputRef, Props> = (
496503
: !isFocusedState
497504
? customLabelStyles.fontSizeBlurred
498505
: customLabelStyles.fontSizeFocused,
506+
// @ts-ignore
499507
color: interpolateColors(fontColorAnimated, {
500508
inputRange: [0, 1],
501509
outputColorRange: [
510+
// @ts-ignore
502511
customLabelStyles.colorBlurred,
512+
// @ts-ignore
503513
customLabelStyles.colorFocused,
504514
],
505515
}),

0 commit comments

Comments
 (0)