Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Aug 16, 2024
1 parent d71a8d8 commit ecd782d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export async function typescript(): Promise<Linter.Config[]> {
},
],

'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
// '@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': [
Expand Down
4 changes: 2 additions & 2 deletions packages/@core/ui-kit/tabs-ui/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import type { IContextMenuItem } from '@vben-core/shadcn-ui';
import type { TabDefinition, TabsStyleType } from '@vben-core/typings';

export interface TabsEmits {
export type TabsEmits = {
close: [string];
sortTabs: [number, number];
unpin: [TabDefinition];
}
};

export interface TabsProps {
active?: string;
Expand Down

0 comments on commit ecd782d

Please sign in to comment.