react-native-cookie-store icon indicating copy to clipboard operation
react-native-cookie-store copied to clipboard

TypeScript Support

Open safaiyeh opened this issue 5 years ago • 0 comments

This module needs TypeScript support. Currently, React Native TypeScript projects have to ignore the module in order to pass their type checks.

There are two apparent options:

  1. Provide types with this module.
  2. Provide types in as a separate package.

Providing types with this module would be a great developer experience. As it will be ready out of the box; however, this means extra JS will be added to projects that do not use TypeScript. Types should be a devDependency for production apps.

This issue is for planning/discussion on the best way to support types. Feel free to add your input!

safaiyeh avatar Dec 29 '19 19:12 safaiyeh