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

Commit

Permalink
fix: fix path to typescript definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Aug 22, 2019
1 parent e70f527 commit f182315
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/bottom-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/bottom-tabssrc/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/drawer/src/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/material-bottom-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/material-bottom-tabs/src/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/material-top-tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/material-top-tabs/src/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/native/src/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/routers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/routers/src/index.d.ts",
"files": [
"src",
"lib"
Expand Down
2 changes: 1 addition & 1 deletion packages/stack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"types": "lib/typescript/stack/src/index.d.ts",
"files": [
"src",
"lib"
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@react-navigation/*": ["./packages/*/src", "./packages/*/lib/typescript"],
"@react-navigation/*": [
"./packages/*/src",
"./packages/*/lib/typescript"
],
"use-subscription": ["./typings/use-subscription.d"]
},
"allowUnreachableCode": false,
Expand Down

0 comments on commit f182315

Please sign in to comment.