Fix missing parameters from svg append (#13119)

* Add parameter declarations to append()

* Made insertFirst parameter optional
This commit is contained in:
Matt Gibbs
2016-12-08 15:55:15 -05:00
committed by Andy
parent 26aec5f234
commit 4e5fbf297e

View File

@@ -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.