chore: narrow down tstype

This commit is contained in:
Lei Nelissen 2023-07-15 15:38:21 +02:00
parent 85515bcf8d
commit 7e39c13836
No known key found for this signature in database
GPG Key ID: 259FA9C0515D505F
2 changed files with 2 additions and 2 deletions

View File

@ -1067,7 +1067,7 @@ export interface GanttDiagramConfig extends BaseDiagramConfig {
* On which day a week-based interval should start
*
*/
weekday?: string | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
weekday?: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
}
/**
* The object containing configurations specific for sequence diagrams

View File

@ -1549,7 +1549,7 @@ $defs: # JSON Schema definition (maybe we should move these to a seperate file)
description: |
On which day a week-based interval should start
type: string
tsType: 'string | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"'
tsType: '"monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"'
enum:
- monday
- tuesday