Skip to content

Commit

Permalink
remove wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Oct 18, 2021
1 parent 376f95d commit bc503a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utilityFunctions/Date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { format } from 'date-fns'
* formats a date using the [`date-fns` format](https://date-fns.org/v2.20.1/docs/format) function, and uses
* {@link FormattedDate} to generate a type for the given `formatString`
*/
// explicit type annotation is required here or else the expect-type exlint rule complains
export const formatDate: <T extends string>(date: Date, formatString: T) => FormattedDate<T> = (
date,
formatString,
Expand Down

0 comments on commit bc503a9

Please sign in to comment.