Skip to content

Commit

Permalink
Merge pull request #469 from Snailedlt/patch-1
Browse files Browse the repository at this point in the history
Remove `string` from HolidayType, so that autocomplete works
  • Loading branch information
commenthol authored Mar 21, 2024
2 parents 4c90b0a + 3d00852 commit a107f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ declare module 'date-holidays' {
region?: string;
}

export type HolidayType = 'public' | 'bank' | 'optional' | 'school' | 'observance' | string;
export type HolidayType = 'public' | 'bank' | 'optional' | 'school' | 'observance';

export interface Options {
/** languages using ISO 639-1 shortcodes */
Expand Down

0 comments on commit a107f13

Please sign in to comment.