Skip to content

Commit

Permalink
Use verbose arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
nswaldman committed Jan 25, 2024
1 parent 5cf3ce6 commit 76c1756
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import type {
PropsWithChildren,
} from 'react';

/*
/**
* AsProp is a type based on the supplied as prop.
*/
type AsProp<Types extends ElementType> = { as?: Types };

/*
/**
* MergeAndOverride is a type that omits type keys from BaseTypes that are also present in OverrideProps.
*/
type MergeAndOverride<BaseTypes, OverrideProps> = Omit<BaseTypes, keyof OverrideProps> &
Expand Down

0 comments on commit 76c1756

Please sign in to comment.