Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

Conversation

@rjruizes
Copy link

@rjruizes rjruizes commented Oct 28, 2021

Not converted yet: getDefaultOption.js, mixin.js, and several functions in Hs.ts which are used by harness-ui.

0 errors as is, with the @ts-ignore comments.

@hardingalexh hardingalexh requested a review from jdpdev October 28, 2021 13:11
@hardingalexh hardingalexh self-assigned this Oct 28, 2021
src/Hs.ts Outdated
charts:Charts
_mappedGetters
_mappedActions
[key: string]: any
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this catching? Ideally everything assigned to the object should be pre-defined or put in some other data structure

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, excellent catch. I'm not sure why I had that in there.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I forgot I had the // @ts-nocheck at the top of the file, so of course there was no change when I changed it.

[key: string]: any is meant to catch this[getter] and this[action] on lines 44-54.

@hardingalexh hardingalexh marked this pull request as draft November 10, 2021 14:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants