See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
// In TS, interfaces are "open" and can be extended | |
interface Date { | |
/** | |
* Give a more precise return type to the method `toISOString()`: | |
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString | |
*/ | |
toISOString(): TDateISO; | |
} | |
type TYear = `${number}${number}${number}${number}`; |
import { forwardRef } from 'react'; | |
import { LinkCore, LinkCoreProps } from 'solito/link'; | |
import { AnchorProps, styled, Anchor } from 'tamagui'; | |
const StyledTextLink = styled(Anchor, { | |
name: 'TextLink', | |
}); | |
export type TextLinkProps = Pick<LinkCoreProps, 'href' | 'target'> & | |
AnchorProps; |