ionic-team / ionic-team/ionic-storage
Better support for types
Open
- Dominant language
- TypeScript
- Stars
- 456
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
Hello all, I hope you'll entertain an enhancement request. I'm enjoying the library so far but I'm wondering if we can get better type accuracy. One specific example would be:
```ts
get(key: string): Promise;
```
`Promise` could be clarified with `X | Y | null`, allowing for null checking, as that may often return null.
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.