diff --git a/package.json b/package.json index 3e6c184ed..6ac7cd8ca 100755 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "access": "public" }, "main": "src/Eleventy.js", + "types": "src/index.d.ts", "bin": { "eleventy": "./cmd.js" }, 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 };