Skip to content

Commit

Permalink
fix: refactor resulting in miss TS type (#543)
Browse files Browse the repository at this point in the history
* chore: update eslint fix compile error

* fix: fix export TS description

ref: #539 (comment)
  • Loading branch information
Wxh16144 committed Dec 1, 2023
1 parent 7c8e3b1 commit 3313ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const base = require('@umijs/fabric/dist/eslint');

module.exports = {
...base,
extends: [require.resolve('@umijs/fabric/dist/eslint')],
rules: {
...base.rules,
'no-template-curly-in-string': 0,
'prefer-promise-reject-errors': 0,
'react/no-array-index-key': 0,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default } from './Pagination';
export type { PaginationProps } from './interface';
export type * from './interface';

0 comments on commit 3313ab3

Please sign in to comment.