Skip to content

Commit

Permalink
Turborepo typescript fix build (#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
kestarumper authored Sep 20, 2024
1 parent f6590b2 commit a874ffd
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
37 changes: 29 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.4.3",
"@types/jest": "26.0.20",
"@types/node": "18.19.50",
"eslint-config-vazco": "7.4.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-import-resolver-typescript": "2.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/uniforms/src/BaseForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ export class BaseForm<
getNativeFormProps(): {
[key: string]: unknown;
children?: React.ReactNode;
id?: BaseFormProps<Model>['id'];
id?: string;
key: string;
noValidate: BaseFormProps<Model>['noValidate'];
noValidate: boolean;
onSubmit: BaseForm<Model, Props, State>['onSubmit'];
} {
const props = omit(this.props, [
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"moduleResolution": "node",
"paths": { "uniforms": ["uniforms/src"], "uniforms-*": ["uniforms-*/src"] },
"strict": true,
"target": "ES6"
"target": "ES6",
"skipLibCheck": true
}
}

0 comments on commit a874ffd

Please sign in to comment.