]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix typing of the isoWeekday field (#9330)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Thu, 1 Jul 2021 12:24:40 +0000 (14:24 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jul 2021 12:24:40 +0000 (08:24 -0400)
types/index.esm.d.ts

index e5f474d947367c17d47d7059e4e3a50faee0d878..235670cd8995568ed1721ed5fb12e490cae1df39 100644 (file)
@@ -3025,7 +3025,7 @@ export type TimeScaleOptions = CartesianScaleOptions & {
      * If `number`, the index of the first day of the week (0 - Sunday, 6 - Saturday).
      * @default false
      */
-    isoWeekday: false | number;
+    isoWeekday: boolean | number;
     /**
      * Sets how different time units are displayed.
      */