DefinitelyTyped/types/react-native-privacy-snapshot/react-native-privacy-snapshot-tests.ts
Matt Bajorek 020d2e4418 Add type definitions for react-native-privacy-snapshot (#38598)
* Add type definitions for react-native-privacy-snapshot

* Fixed formatting

* Simplified code
2019-09-27 08:53:31 -07:00

5 lines
131 B
TypeScript

import PrivacySnapshot = require('react-native-privacy-snapshot');
PrivacySnapshot.enabled(true);
PrivacySnapshot.enabled(false);