Skip to content

Commit

Permalink
style: refactor code according to the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayzrian committed Jan 23, 2025
1 parent 726d7ff commit 5a00ea0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions mate-scripts/src/commands/CheckTypes.command.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Command } from './Command';
import {execBashCodeSilent} from "../tools";
import { execBashCodeSilent } from '../tools';

export type CheckTypesOptions = Record<string, unknown>;

Expand All @@ -8,17 +8,15 @@ export class CheckTypesCommand extends Command {
// do nothing
}

protected reactTypescript = (options: CheckTypesOptions) => {
protected reactTypescript = () => {
this.checkTypes();
};


protected vueTypescript = (options: CheckTypesOptions) => {
protected vueTypescript = () => {
this.checkTypes();
};


protected typescript = (options: CheckTypesOptions) => {
protected typescript = () => {
this.checkTypes();
};

Expand All @@ -27,5 +25,4 @@ export class CheckTypesCommand extends Command {
`${this.binDir}tsc --no-emit`,
);
}

}

0 comments on commit 5a00ea0

Please sign in to comment.