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

ListBox: typings don't work for ListBox.types #986

Open
alexzherdev opened this issue Mar 25, 2021 · 0 comments
Open

ListBox: typings don't work for ListBox.types #986

alexzherdev opened this issue Mar 25, 2021 · 0 comments

Comments

@alexzherdev
Copy link
Contributor

Bug Report

Expected behavior

I want to be able to refer to ListBox.types in TypeScript code.

Current behavior

I'm getting a tsc error

Property 'types' does not exist on type 'typeof ListBox'. ts(2339)

Screenshots / Gifs / Codepens

image

Additional context

It starts working when I rename this to ListBox:

declare namespace ListBoxContainer {

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

No branches or pull requests

1 participant