Skip to content

Commit

Permalink
chore(react): disable strict types
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Jun 14, 2020
1 parent 6b8d7f4 commit 0a61fce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
6 changes: 0 additions & 6 deletions react/src/react-component-lib/createComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ export const createReactComponent = <PropType, ElementType>(tagName: string) =>

componentDidUpdate(prevProps: IonicReactInternalProps<ElementType>) {
const node = this.ref.current;

if (node == null) {
console.warn('[@ionic-super-tabs/react] componentDidUpdate received a null HTMLElement');
return;
}

attachEventProps(node, this.props, prevProps);
}

Expand Down
5 changes: 1 addition & 4 deletions react/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"strict": true,
"strict": false,
"allowUnreachableCode": false,
"allowSyntheticDefaultImports": true,
"declaration": true,
Expand All @@ -27,9 +27,6 @@
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"**/__tests__/**"
],
"compileOnSave": false,
"buildOnSave": false
}

0 comments on commit 0a61fce

Please sign in to comment.