Type Alias SourceFunctionSpecification<T>
SourceFunctionSpecification:
| {
default?: T;
property: string;
stops: [number, T][];
type: "exponential";
}
| { default?: T; property: string; stops: [number, T][]; type: "interval" }
| {
default?: T;
property: string;
stops: [string | number | boolean, T][];
type: "categorical";
}
| { default?: T; property: string; type: "identity" }
| {
default?: T;
property: string;
stops: [number, T][];
type: "exponential";
}
| { default?: T; property: string; stops: [number, T][]; type: "interval" }
| {
default?: T;
property: string;
stops: [string | number | boolean, T][];
type: "categorical";
}
| { default?: T; property: string; type: "identity" }
Type Parameters
- T
Was this helpful?