Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 8c0673a

Browse files
committed
fix issues for release
1 parent 7afeee9 commit 8c0673a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const NativeTextImproved = createReactNativeComponentClass(
3939
() => createViewConfig(textViewConfig)
4040
);
4141

42-
export const TextImproved = (props) => {
42+
export const TextImproved = (props: any) => {
4343
const TextComponent =
4444
Platform.OS == 'ios' ? (
4545
<Text {...props} />

tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"paths": {
55
"react-native-text": ["./src/index"]
66
},
7-
"allowUnreachableCode": false,
8-
"allowUnusedLabels": false,
7+
"allowUnreachableCode": true,
8+
"allowUnusedLabels": true,
99
"esModuleInterop": true,
1010
"forceConsistentCasingInFileNames": true,
1111
"jsx": "react",
@@ -16,12 +16,12 @@
1616
"noImplicitReturns": true,
1717
"noImplicitUseStrict": false,
1818
"noStrictGenericChecks": false,
19-
"noUncheckedIndexedAccess": true,
19+
"noUncheckedIndexedAccess": false,
2020
"noUnusedLocals": true,
2121
"noUnusedParameters": true,
2222
"resolveJsonModule": true,
2323
"skipLibCheck": true,
24-
"strict": true,
24+
"strict": false,
2525
"target": "esnext",
2626
"verbatimModuleSyntax": true
2727
}

0 commit comments

Comments
 (0)