Commit 91a7a20
authored
Fix onCreatingRowSave return type to match documentation (#1311)
In documentation (https://www.material-react-table.com/docs/api/table-options) both `onCreatingRowSave` and `onEditingRowSave` should accept a function with a return type of `Promise<void> | void` but in the typings the `onCreatingRowSave` accepts only `void`.1 parent c1b447a commit 91a7a20
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1196 | 1196 | | |
1197 | 1197 | | |
1198 | 1198 | | |
1199 | | - | |
| 1199 | + | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
| |||
0 commit comments