Problem or motivation
Screen is also an interface of the typescript lib. So when you type Screen the compiler will say it is valid, because it is a default typescript Interface. So you have to type the import yourself.
Proposed solution
Rename Screen class to something else, maybe MobileScreen?
Target platform
Platform-agnostic
Alternatives considered
No response
Additional context
No response
Problem or motivation
Screen is also an interface of the typescript lib. So when you type Screen the compiler will say it is valid, because it is a default typescript Interface. So you have to type the import yourself.
Proposed solution
Rename Screen class to something else, maybe MobileScreen?
Target platform
Platform-agnostic
Alternatives considered
No response
Additional context
No response