We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9b606b commit c53631fCopy full SHA for c53631f
2 files changed
jest/react-native-file-access.ts
@@ -7,11 +7,9 @@ import type {
7
FileStat,
8
FsStat,
9
HashAlgorithm,
10
- Util as UtilFunctions,
11
} from 'react-native-file-access';
12
13
-export const Util: typeof UtilFunctions =
14
- require('react-native-file-access/lib/commonjs/util').Util;
+export { Util } from 'react-native-file-access/util';
15
16
export const Dirs = {
17
CacheDir: '/mock/CacheDir',
package.json
@@ -10,6 +10,11 @@
"types": "./lib/typescript/src/index.d.ts",
"default": "./lib/module/index.js"
},
+ "./util": {
+ "source": "./src/util.ts",
+ "types": "./lib/typescript/src/util.d.ts",
+ "default": "./lib/module/util.js"
+ },
18
"./package.json": "./package.json"
19
20
"files": [
0 commit comments