mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 02:39:41 +02:00
chore: narrow down tstype
This commit is contained in:
@@ -1067,7 +1067,7 @@ export interface GanttDiagramConfig extends BaseDiagramConfig {
|
|||||||
* On which day a week-based interval should start
|
* 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
|
* The object containing configurations specific for sequence diagrams
|
||||||
|
@@ -1549,7 +1549,7 @@ $defs: # JSON Schema definition (maybe we should move these to a seperate file)
|
|||||||
description: |
|
description: |
|
||||||
On which day a week-based interval should start
|
On which day a week-based interval should start
|
||||||
type: string
|
type: string
|
||||||
tsType: 'string | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"'
|
tsType: '"monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday"'
|
||||||
enum:
|
enum:
|
||||||
- monday
|
- monday
|
||||||
- tuesday
|
- tuesday
|
||||||
|
Reference in New Issue
Block a user