Skip to content
Source
Sign inSign up
TanStack/react-charts

Cast min and max argument when Dates to get rid of TS error #240

OpenBrodzko(GitHub profile, opens in a new tab)wants to merge 2 commits intobeta fromrefs/pull/240/headopened

There was a TS problem when trying to guess the return value of min and max in this case. Casting it helped.

Originally I had something broken in my local copy so I missed this but all should be fixed now.

Sorry!

    1. Someone is attempting to deploy a commit to a Personal Account owned by @tannerlinsley on Vercel.

      @tannerlinsley first needs to authorize it.

Sign in to join this conversation.