New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(nms): Fix some simple TypeScript migration TODOs #13247
Conversation
Thanks for opening a PR! 💯
Howto
More infoPlease take a moment to read through the Magma project's
If this is your first Magma PR, also consider reading
|
@@ -111,9 +111,6 @@ export default function CustomHistogram(props: Props) { | |||
data={{datasets: props.dataset}} | |||
options={{ | |||
maintainAspectRatio: false, | |||
// TODO[TS-migration is this a valid chart.js option?] | |||
// @ts-ignore | |||
scaleShowValues: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I searched through the code base of react-chart-js
and chart-js
and could not find "scaleShowValues".
// type WrapperVariant is a alias for: | ||
// "dialog" | "inline" | "static" | ||
// @ts-ignore | ||
variant="outlined" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test that this has no effect and inputVariant="outlined"
is what is needed.
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
9de6fe3
to
0da116f
Compare
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
Signed-off-by: Thomas Schmitt <thomas.schmitt@tngtech.com>
Resolves some simple TODOs from the TypeScript migration.