Skip to content

Commit 455d56e

Browse files
chore: Update TypeScript configuration and export interface (#20)
- Removed `allowImportingTsExtensions` and `noEmit` options from tsconfig.json for cleaner configuration. - Changed `MultiLevelTableProps` interface to be exported, allowing for better accessibility in other modules.
1 parent f4bc70c commit 455d56e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/components/MultiLevelTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import "../styles/MultiLevelTable.css";
3333
* @property {number} [pageSize=10] - Number of items per page
3434
* @property {ThemeProps} theme - Theme properties
3535
*/
36-
interface MultiLevelTableProps {
36+
export interface MultiLevelTableProps {
3737
data: DataItem[];
3838
columns: Column[];
3939
pageSize?: number;

tsconfig.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
"module": "ESNext",
77
"skipLibCheck": true,
88
"moduleResolution": "bundler",
9-
"allowImportingTsExtensions": true,
109
"resolveJsonModule": true,
1110
"isolatedModules": true,
12-
"noEmit": true,
1311
"jsx": "react-jsx",
1412
"strict": true,
1513
"noUnusedLocals": true,

0 commit comments

Comments
 (0)