]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fixes #8304 (Missing type) beta 8 broken typescript (#8305)
authorLeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com>
Thu, 14 Jan 2021 12:45:12 +0000 (13:45 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Jan 2021 12:45:12 +0000 (07:45 -0500)
* fixes #8304

* Update layout.d.ts

First letter of variable from capital to normal

types/layout.d.ts

index bb3f1dbbaa79a55069aba9a6a20dac338b93fa20..ef8935db74c4e1953697ae1b9e2ce7bcb4e772af 100644 (file)
@@ -47,7 +47,7 @@ export interface LayoutItem {
        /**
         * Draws the element
         */
-       draw(ChartArea): void;
+       draw(chartArea: ChartArea): void;
        /**
         * Returns an object with padding on the edges
         */