Skip to content

Commit 87c805b

Browse files
committed
Update tsconfig
1 parent 138d21e commit 87c805b

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"version": "1.0.29",
44
"type": "module",
55
"main": "./dist/index.js",
6-
"types": "./src/index.ts",
6+
"types": "./dist/index.d.ts",
77
"author": "Jeswin Kumar<[email protected]>",
88
"repository": {
99
"type": "git",
1010
"url": "https://github.com/forgojs/forgo-state"
1111
},
1212
"dependencies": {
13-
"forgo": "^2.0.3"
13+
"forgo": "^2.0.5"
1414
},
1515
"devDependencies": {
1616
"@types/jsdom": "^16.2.13",

tsconfig.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
"sourceMap": true,
1111
"strict": true,
1212
"jsx": "react",
13-
"jsxFactory": "forgo.h",
14-
"jsxFragmentFactory": "forgo.Fragment"
13+
"jsxFactory": "forgo.createElement",
14+
"jsxFragmentFactory": "forgo.Fragment",
15+
"declaration": true
1516
},
1617
"include": ["./src/**/*"]
1718
}

0 commit comments

Comments
 (0)