Skip to content

Commit 6bf5879

Browse files
committed
chore(react-native-lightning): Add back accidentally removed typings
1 parent d01acf0 commit 6bf5879

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changeset/public-actors-rescue.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@plextv/react-native-lightning": patch
3+
---
4+
5+
fix(react-native-lightning): Add back accidentally removed typings

packages/react-native-lightning/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"type": "module",
1515
"main": "./dist/index.cjs",
1616
"module": "./dist/index.js",
17-
"types": "./dist/index.d.ts",
17+
"types": "./dist/types/index.d.ts",
1818
"exports": {
1919
".": "./src/index.ts",
2020
"./package.json": "./package.json"
@@ -31,8 +31,9 @@
3131
}
3232
},
3333
"scripts": {
34-
"build": "tsdown",
34+
"build": "tsdown && pnpm run build:types",
3535
"build:watch": "tsdown -w",
36+
"build:types": "tsc --outDir dist/lib --declarationDir dist/types --declaration true --emitDeclarationOnly true",
3637
"clean": "del ./dist",
3738
"check:types": "tsc --noEmit",
3839
"test:unit": "vitest run --passWithNoTests"

0 commit comments

Comments
 (0)