Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit f296fc9

Browse files
authored
fix: typescript import error
If `resolvePackageJsonExports` is `true`, an error will occur when importing: `TS7016: Could not find a declaration file for module rcedit`.
1 parent 261e613 commit f296fc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.0-development",
44
"description": "Node module to edit resources of exe",
55
"type": "module",
6-
"exports": "./lib/rcedit.js",
6+
"main": "lib/rcedit.js",
77
"types": "lib/index.d.ts",
88
"files": [
99
"bin",

0 commit comments

Comments
 (0)