Skip to content

Is it possible to make params non-undefined? #135

@bezenson

Description

@bezenson

If I described params in react-native-modalfy.d.ts - it means that they are required for my modal. Is it possible to have an error if I call openModal() without params if my modal require them? Because currently I have to check each param in modal like params?.title, params?.items etc. but it makes no sense.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersnew featureNew feature or requestquestionQuestion about how the library works/if it provides a certain feature
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions