Skip to content

Commit

Permalink
Remove string from HolidayType, so that autocomplete works
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailedlt authored Mar 20, 2024
1 parent 4c90b0a commit 3d00852
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 3d00852

Please sign in to comment.