Skip to content

Commit f53149f

Browse files
committed
chore: doc linting
1 parent b3a8fd6 commit f53149f

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

packages/react-data-provider/src/useDataProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const useDataProvider = () => {
3131

3232
/**
3333
* Asynchronously refreshes an access token using a stored refresh token.
34+
*
3435
* @returns A promise that resolves with the response from the token refresh request or rejects with an error.
3536
* @throws If an exception occurs while refreshing the token.
3637
*/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import OrderableDropDown, { ListItem } from './OrderableDropDown';
2-
export { ListItem };
3-
4-
export default OrderableDropDown;
1+
import OrderableDropDown, { ListItem } from './OrderableDropDown';
2+
export { ListItem };
3+
4+
export default OrderableDropDown;

packages/react-material-ui/src/components/Table/utils/createTableStyles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type StyleDefinition = {
77
/**
88
* Generates a style object based on the provided style definitions.
99
*
10-
* @param {StyleDefinition} styles - An object containing style definitions.
10+
* @param styles - An object containing style definitions.
1111
* @returns The generated style object with keys and corresponding style definitions.
1212
*/
1313
const createTableStyles = <T extends StyleDefinition>(styles: T): T => {

packages/react-material-ui/src/components/Table/utils/descendingComparator.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* @param a
3-
* @param b
4-
* @param orderBy
2+
* @param a - Comparator A
3+
* @param b - Comparator B
4+
* @param orderBy - Order By
55
*/
66
function descendingComparator<T>(a: T, b: T, orderBy: keyof T) {
77
if (b[orderBy] < a[orderBy]) {

packages/react-material-ui/src/components/Table/utils/getComparator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Order } from '../types';
22
import descendingComparator from './descendingComparator';
33

44
/**
5-
* @param order
6-
* @param orderBy
5+
* @param order - Order
6+
* @param orderBy - Order by
77
*/
88
function getComparator<Key extends keyof any>(
99
order: Order,

packages/react-material-ui/src/components/Table/utils/stableSort.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* @param array
3-
* @param comparator
2+
* @param array - The Array being sorted
3+
* @param comparator - Comparator callback
44
*/
55
function stableSort<T>(
66
array: readonly T[],

0 commit comments

Comments
 (0)