Skip to content

Commit

Permalink
fix @typescript-eslint/ban-types
Browse files Browse the repository at this point in the history
  • Loading branch information
sasarafu committed May 26, 2024
1 parent d769358 commit 78f4427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default withNuxt({
rules: {
'no-console': 'warn',
'no-empty': 'warn', // temporary
'@typescript-eslint/ban-types': 'warn', // temporary
'vue/html-self-closing': [
'warn',
{
Expand Down
4 changes: 2 additions & 2 deletions repositories/repositoryFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type IRepository<T extends IInstanceType> = {
getLoginUser: (user: ILoginUserInfo) => ILoginUser | Promise<ILoginUser>;
} & {
[timelineType in ITimelineType<T>]: {
get: Function | undefined;
stream: Function | undefined;
get: ((...args: never[]) => unknown) | undefined;
stream: ((...args: never[]) => unknown) | undefined;
};
};

Expand Down

0 comments on commit 78f4427

Please sign in to comment.