Skip to content

Commit

Permalink
style: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ext committed Feb 2, 2022
1 parent 2309189 commit c020780
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions typings.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import {expectType} from 'tsd';
import { expectType } from 'tsd';
import betterAjvErrors, { IOutputError } from '.';

expectType<string>(betterAjvErrors(true, false, []));
expectType<string>(betterAjvErrors(true, false, [], { format: 'cli'}));
expectType<string>(betterAjvErrors(true, false, [], { format: 'cli' }));

expectType<Array<IOutputError>>(betterAjvErrors('abc', 'xyz', [], { format: 'js'}));
expectType<Array<IOutputError>>(
betterAjvErrors('abc', 'xyz', [], { format: 'js' })
);

0 comments on commit c020780

Please sign in to comment.