Skip to content

Commit

Permalink
Restore types in package.json and index.d.ts (#3291)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Jun 10, 2024
2 parents 59ca725 + 75981f4 commit cd0a87b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"main": "src/Eleventy.js",
"type": "module",
"types": "src/index.d.ts",
"bin": {
"eleventy": "./cmd.cjs"
},
Expand Down
3 changes: 3 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import UserConfig from "./UserConfig";

export { UserConfig };

0 comments on commit cd0a87b

Please sign in to comment.