From 75981f430adb79448856cefb38c4838d0e04f87a Mon Sep 17 00:00:00 2001 From: Christopher Kirk-Nielsen Date: Tue, 21 May 2024 23:06:10 -0400 Subject: [PATCH] Restore types in package.json and index.d.ts --- package.json | 1 + src/index.d.ts | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 src/index.d.ts diff --git a/package.json b/package.json index 2bdaec3dc..b84fc9237 100755 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ }, "main": "src/Eleventy.js", "type": "module", + "types": "src/index.d.ts", "bin": { "eleventy": "./cmd.cjs" }, diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 000000000..aa529eba7 --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,3 @@ +import UserConfig from "./UserConfig"; + +export { UserConfig };