Minor type fixes (#7812)

This commit is contained in:
emmcbd
2020-09-23 14:43:33 +02:00
committed by GitHub
parent 7633343c2f
commit 2bb23dfe8c
3 changed files with 10 additions and 3 deletions

View File

@@ -119,7 +119,8 @@ export interface ILineControllerDatasetOptions
extends IControllerDatasetOptions,
ScriptableAndArrayOptions<IPointPrefixedOptions>,
ScriptableAndArrayOptions<IPointPrefixedHoverOptions>,
ScriptableOptions<ILineOptions> {
ScriptableOptions<ILineOptions>,
ScriptableOptions<ILineHoverOptions> {
/**
* The ID of the x axis to plot this dataset on.
*/

View File

@@ -43,9 +43,15 @@ export interface IArcOptions extends ICommonOptions {
* Arc stroke alignment.
*/
borderAlign: 'center' | 'inner';
/**
* Arc offset (in pixels).
*/
offset: number;
}
export interface IArcHoverOptions extends ICommonHoverOptions {}
export interface IArcHoverOptions extends ICommonHoverOptions {
hoverOffset: number;
}
export interface Arc<T extends IArcProps = IArcProps, O extends IArcOptions = IArcOptions>
extends Element<T, O>,

View File

@@ -9,7 +9,7 @@ export interface IFillerOptions {
propagate: boolean;
}
export type FillTarget = number | string | 'start' | 'end' | 'origin' | false;
export type FillTarget = number | string | 'start' | 'end' | 'origin' | 'stack' | false;
export interface IFillTarget {
/**