Skip to content

[TS] PagerView typescript is broken #823

@AlirezaHadjar

Description

@AlirezaHadjar

Description

I just noticed that in the latest version, the typescript of this package is not working as expected.

Reproducible Demo

  1. Create a ref:
const ref = useRef<PagerView>(null);

Now you will get this ts error: 'PagerView' refers to a value, but is being used as a type here. Did you mean 'typeof PagerView'

Screenshot 2024-05-03 at 7 06 04 PM

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions