Skip to content

Commit

Permalink
fix: ts
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-kallavus committed Oct 6, 2021
1 parent 5cc847f commit c45c16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions next-docs/pages/components/table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const DefaultTablePreview = () => {
},
];

const makeData = (length) => {
const makeData = (length: number) => {
return Array.from('_'.repeat(length)).map(() => {
return {
firstName: 'Test',
Expand Down Expand Up @@ -186,7 +186,7 @@ const ExpandedRowTablePreview = () => {
},
];

const makeData = (length) => {
const makeData = (length: number) => {
return Array.from('_'.repeat(length)).map(() => {
return {
firstName: 'Test',
Expand Down

0 comments on commit c45c16f

Please sign in to comment.