Skip to content

Commit 0a61fce

Browse files
committed
chore(react): disable strict types
1 parent 6b8d7f4 commit 0a61fce

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

Diff for: react/src/react-component-lib/createComponent.tsx

-6
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ export const createReactComponent = <PropType, ElementType>(tagName: string) =>
2929

3030
componentDidUpdate(prevProps: IonicReactInternalProps<ElementType>) {
3131
const node = this.ref.current;
32-
33-
if (node == null) {
34-
console.warn('[@ionic-super-tabs/react] componentDidUpdate received a null HTMLElement');
35-
return;
36-
}
37-
3832
attachEventProps(node, this.props, prevProps);
3933
}
4034

Diff for: react/tsconfig.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"strict": true,
3+
"strict": false,
44
"allowUnreachableCode": false,
55
"allowSyntheticDefaultImports": true,
66
"declaration": true,
@@ -27,9 +27,6 @@
2727
"src/**/*.ts",
2828
"src/**/*.tsx"
2929
],
30-
"exclude": [
31-
"**/__tests__/**"
32-
],
3330
"compileOnSave": false,
3431
"buildOnSave": false
3532
}

0 commit comments

Comments
 (0)