mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #14349 from ulikoehler/ulikoehler-patch-1
chart.js: Allow string & Date for ChartPoint.x
This commit is contained in:
Vendored
+2
-2
@@ -71,7 +71,7 @@ declare namespace Chart {
|
||||
}
|
||||
|
||||
export interface ChartPoint {
|
||||
x?: number;
|
||||
x?: number | string | Date;
|
||||
y?: number;
|
||||
}
|
||||
|
||||
@@ -430,4 +430,4 @@ declare namespace Chart {
|
||||
}
|
||||
|
||||
export = Chart;
|
||||
export as namespace Chart;
|
||||
export as namespace Chart;
|
||||
|
||||
Reference in New Issue
Block a user