Skip to content

Commit

Permalink
fix: Types declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
cmath10 committed Feb 19, 2024
1 parent 46359c1 commit 697d252
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export declare class MorphOne<
>;
}

export default class MorphEach<
export declare class MorphEach<
Source = unknown,
Target = Record<Key, unknown>
> implements Morph<Source[], Target[]> {
Expand Down
2 changes: 1 addition & 1 deletion types/scaffolding.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export type Key = number | string
export type KeyOf<T> = unknown extends T ? Key : keyof T

export type Maybe<T> = T extends undefined
? undefined
? T
: T | undefined

export type PathArray<T, K extends keyof T> =
Expand Down

0 comments on commit 697d252

Please sign in to comment.