Skip to content
This repository was archived by the owner on Feb 8, 2020. It is now read-only.

Commit f182315

Browse files
committed
fix: fix path to typescript definitions
1 parent e70f527 commit f182315

File tree

9 files changed

+12
-9
lines changed

9 files changed

+12
-9
lines changed

packages/bottom-tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"main": "lib/commonjs/index.js",
2121
"react-native": "src/index.tsx",
2222
"module": "lib/module/index.js",
23-
"types": "lib/typescript/src/index.d.ts",
23+
"types": "lib/typescript/bottom-tabssrc/index.d.ts",
2424
"files": [
2525
"src",
2626
"lib"

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"main": "lib/commonjs/index.js",
1717
"react-native": "src/index.tsx",
1818
"module": "lib/module/index.js",
19-
"types": "lib/typescript/src/index.d.ts",
19+
"types": "lib/typescript/index.d.ts",
2020
"files": [
2121
"src",
2222
"lib"

packages/drawer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"main": "lib/commonjs/index.js",
2222
"react-native": "src/index.tsx",
2323
"module": "lib/module/index.js",
24-
"types": "lib/typescript/src/index.d.ts",
24+
"types": "lib/typescript/drawer/src/index.d.ts",
2525
"files": [
2626
"src",
2727
"lib"

packages/material-bottom-tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"main": "lib/commonjs/index.js",
2222
"react-native": "src/index.tsx",
2323
"module": "lib/module/index.js",
24-
"types": "lib/typescript/src/index.d.ts",
24+
"types": "lib/typescript/material-bottom-tabs/src/index.d.ts",
2525
"files": [
2626
"src",
2727
"lib"

packages/material-top-tabs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"main": "lib/commonjs/index.js",
2222
"react-native": "src/index.tsx",
2323
"module": "lib/module/index.js",
24-
"types": "lib/typescript/src/index.d.ts",
24+
"types": "lib/typescript/material-top-tabs/src/index.d.ts",
2525
"files": [
2626
"src",
2727
"lib"

packages/native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"main": "lib/commonjs/index.js",
1818
"react-native": "src/index.tsx",
1919
"module": "lib/module/index.js",
20-
"types": "lib/typescript/src/index.d.ts",
20+
"types": "lib/typescript/native/src/index.d.ts",
2121
"files": [
2222
"src",
2323
"lib"

packages/routers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"main": "lib/commonjs/index.js",
1717
"react-native": "src/index.tsx",
1818
"module": "lib/module/index.js",
19-
"types": "lib/typescript/src/index.d.ts",
19+
"types": "lib/typescript/routers/src/index.d.ts",
2020
"files": [
2121
"src",
2222
"lib"

packages/stack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"main": "lib/commonjs/index.js",
2121
"react-native": "src/index.tsx",
2222
"module": "lib/module/index.js",
23-
"types": "lib/typescript/src/index.d.ts",
23+
"types": "lib/typescript/stack/src/index.d.ts",
2424
"files": [
2525
"src",
2626
"lib"

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"paths": {
5-
"@react-navigation/*": ["./packages/*/src", "./packages/*/lib/typescript"],
5+
"@react-navigation/*": [
6+
"./packages/*/src",
7+
"./packages/*/lib/typescript"
8+
],
69
"use-subscription": ["./typings/use-subscription.d"]
710
},
811
"allowUnreachableCode": false,

0 commit comments

Comments
 (0)