Skip to content

Commit

Permalink
[typings] allow path components to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
leeoniya committed Dec 4, 2020
1 parent 83c9f10 commit 150d62d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dist/uPlot.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,13 @@ export namespace Series {

export interface Paths {
/** path to stroke */
stroke?: Path2D;
stroke?: Path2D | null;

/** path to fill */
fill?: Path2D;
fill?: Path2D | null;

/** path for clipping fill & stroke */
clip?: Path2D;
clip?: Path2D | null;
}

export interface Points {
Expand Down

0 comments on commit 150d62d

Please sign in to comment.