mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-23 04:47:24 +08:00
Fix missing parameters from svg append (#13119)
* Add parameter declarations to append() * Made insertFirst parameter optional
This commit is contained in:
2
chartist/chartist.d.ts
vendored
2
chartist/chartist.d.ts
vendored
@@ -423,7 +423,7 @@ declare namespace Chartist {
|
||||
/**
|
||||
* This method will append an element to the current element as a child.
|
||||
*/
|
||||
append(): IChartistSvg;
|
||||
append(element: IChartistSvg, insertFirst?: boolean): IChartistSvg;
|
||||
|
||||
/**
|
||||
* Returns an array of class names that are attached to the current wrapper element. This method can not be chained further.
|
||||
|
||||
Reference in New Issue
Block a user