Skip to content

Commit 3313ab3

Browse files
authored
fix: refactor resulting in miss TS type (#543)
* chore: update eslint fix compile error * fix: fix export TS description ref: #539 (comment)
1 parent 7c8e3b1 commit 3313ab3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.eslintrc.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
const base = require('@umijs/fabric/dist/eslint');
2-
31
module.exports = {
4-
...base,
2+
extends: [require.resolve('@umijs/fabric/dist/eslint')],
53
rules: {
6-
...base.rules,
74
'no-template-curly-in-string': 0,
85
'prefer-promise-reject-errors': 0,
96
'react/no-array-index-key': 0,

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export { default } from './Pagination';
2-
export type { PaginationProps } from './interface';
2+
export type * from './interface';

0 commit comments

Comments
 (0)