Skip to content

Commit

Permalink
style: lint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>
  • Loading branch information
ferferga committed Nov 9, 2023
1 parent e1ccacd commit a59a0d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export type DefuFn = <

export type DefuFnSchema = <
Source extends Input,
Defaults extends Array<Input | IgnoredInput>
Defaults extends Array<Input | IgnoredInput>,
>(
source: Source,
...defaults: Defaults
Expand Down
2 changes: 1 addition & 1 deletion test/defu.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe("defu", () => {
it("defuSchema(): should skip keys non present in default object", () => {
const result = defuSchema(
{ a: 1, b: 2, c: 3, d: 4 },
{ a: 2, c: 4, d: 6, e: 8 }
{ a: 2, c: 4, d: 6, e: 8 },
);
expect(result).toEqual({
a: 1,
Expand Down

0 comments on commit a59a0d6

Please sign in to comment.