Skip to content

Commit

Permalink
fix(native): TypeScript target
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion committed Aug 13, 2023
1 parent 338d6dc commit fd08964
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"keywords": [
"react.js",
"form",
"typescript"
"typescript",
"validation",
"yup",
"zod"
],
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
Expand Down
5 changes: 4 additions & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"react.js",
"react native",
"form",
"typescript"
"typescript",
"validation",
"yup",
"zod"
],
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/native/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"../../node_modules/@types/",
"./typings/"
],
"target": "ESNext",
// Jest and Mocha types conflict with eachother.
// Check: https://github.com/microsoft/TypeScript/issues/18588#issuecomment-704482601
"types": [
Expand Down
5 changes: 4 additions & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"react.js",
"react dom",
"form",
"typescript"
"typescript",
"validation",
"yup",
"zod"
],
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
Expand Down

0 comments on commit fd08964

Please sign in to comment.