openscd / oscd-filtered-list

Apache License 2.0
0 stars 0 forks source link

Export list item types #15

Open danyill opened 1 year ago

danyill commented 1 year ago

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

For instance I might want to type in my code:

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.