Skip to content

Commit 8e85d5a

Browse files
author
Sébastiaan
authored
Modify UpdateModeEnum to not be const (#736)
1 parent 8c39fba commit 8e85d5a

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

package-lock.json

Lines changed: 26 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@typescript-eslint/eslint-plugin": "^5.4.0",
4141
"@typescript-eslint/parser": "^5.4.0",
4242
"babel-loader": "^8.3.0",
43-
"chart.js": "^4.0.1",
43+
"chart.js": "^4.2.1",
4444
"chartjs-adapter-date-fns": "^2.0.1",
4545
"chartjs-test-utils": "^0.3.0",
4646
"concurrently": "^6.0.2",

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ declare module 'chart.js' {
1313
zoom: ZoomPluginOptions;
1414
}
1515

16-
const enum UpdateModeEnum {
16+
enum UpdateModeEnum {
1717
zoom = 'zoom'
1818
}
1919

0 commit comments

Comments
 (0)