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

Export list item types #15

Open
danyill opened this issue May 18, 2023 · 0 comments
Open

Export list item types #15

danyill opened this issue May 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@danyill
Copy link

danyill commented May 18, 2023

Currently in the OscdFilteredList there are no types exported for the elements it encapsulates.

For instance I might want to type in my code:

  • a list item
  • a check box?
  • the search field?

Should this component be exporting some types to assist users with this?

Normally when we didn't fully encapsulate I would do something like:

import type { ListItemBase } from '@material/mwc-list/mwc-list-item-base.js';

I am not very proficient with types so please let me know if this is not the correct way this should be done.

@danyill danyill added the enhancement New feature or request label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant