Skip to content
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

Converted vis_type_tagcloud to Typescript #63592 fix #64747

Closed
wants to merge 18 commits into from

Conversation

arjunvkurup
Copy link

Summary

Converted vis_type_tagcloud from JavaScript to TypeScript.
Issue #63592 fixed

@kibanamachine
Copy link
Contributor

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

cla-checker-service bot commented Apr 29, 2020

💚 CLA has been signed

linear: () => d3.scale.linear(),
log: () => d3.scale.log(),
'square root': () => d3.scale.sqrt(),
};

export class TagCloud extends EventEmitter {
constructor(domNode, colorScale) {
_element: HTMLElement;
_d3SvgContainer: any;
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be typed strictly

Copy link
Author

Choose a reason for hiding this comment

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

Have issues with setting type on _d3SvgContainer

@flash1293
Copy link
Contributor

@arjunvijayanathakurup There are still a lot of any types in there. Also it seems like you are importing some types here which are never defined https://github.com/elastic/kibana/pull/64747/files#diff-f94a32f699ba51b81536971fe1913becR27-R28

The types.ts field doesn't provide TagType and JobType exports.

@legrego legrego closed this Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants