Skip to content

Finish src conversion to typescript #5034

Closed

Description

@chandlerprall

This was previously blocked because it ran Kibana's build out of memory. Kibana has since increased its allocated memory and also restructured a lot of the build process, so we should be good to go:

Task: convert src/index.js to typescript; will need to account for the existing definitions in src/index.d.ts as well.

Testing:

Activity

  1. thompsongl commented on Aug 16, 2021

    @thompsongl
    Contributor

    @constancecchen Some prior work in a now unknown state 😅: #4695

    I'm going to close that PR, but feel free to revive or take over my branch

  2. cee-chen commented on Aug 16, 2021

    @cee-chen
    Contributor

    @chandlerprall / @thompsongl - one point of clarification - this issue only mentions src/index.js but it looks like src/components/index.js will need to be converted as well. Can I confirm those are the only 2 files in scope?

  3. thompsongl commented on Aug 17, 2021

    @thompsongl
    Contributor

    That sounds correct. packages/react-datepicker/ is also in play by way of src/index.d.ts, but it does not need to be converted to TS, just dealt with in some way that allows the conversion of src/index.js and src/components/index.js.

  4. cee-chen commented on Aug 17, 2021

    @cee-chen
    Contributor

    Definitely not in scope for this ticket, but out of curiosity do we ever want to convert the various .js files icon/assets to .ts? Shouldn't be that much effort tbh, although also not sure it matters 🤔 Reference: https://github.com/elastic/eui/tree/master/src/components/icon/assets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions