We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 842bafc commit 89e6c48Copy full SHA for 89e6c48
1 file changed
types/options.d.ts
@@ -42,7 +42,7 @@ export interface CoreAnnotationOptions extends AnnotationEvents, ShadowOptions,
42
borderWidth?: Scriptable<number, PartialEventContext>,
43
display?: Scriptable<boolean, PartialEventContext>,
44
drawTime?: Scriptable<DrawTime, PartialEventContext>,
45
- init: boolean | ((chart: Chart, properties: AnnotationBoxModel, options: AnnotationOptions) => void | boolean | AnnotationBoxModel),
+ init?: boolean | ((chart: Chart, properties: AnnotationBoxModel, options: AnnotationOptions) => void | boolean | AnnotationBoxModel),
46
id?: string,
47
xMax?: Scriptable<ScaleValue, PartialEventContext>,
48
xMin?: Scriptable<ScaleValue, PartialEventContext>,
0 commit comments