From 0bb59be95efca3d3b125ef2870be6b6391b48945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20B=2E=20Kaufman-L=C3=B3pez?= Date: Tue, 16 Dec 2025 18:16:15 -0400 Subject: [PATCH] Fix import path of TypeScript type definitions for the config According to the package.json of eleventy, `UserConfig` exported from `@11ty/eleventy/UserConfig`. See https://github.com/11ty/eleventy/blob/v3.1.2/package.json#L16-L18 and https://github.com/11ty/eleventy/blob/v3.1.2/src/UserConfig.js#L1339. --- src/docs/config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/config.md b/src/docs/config.md index 9fc972c15f..c8a4d1167b 100644 --- a/src/docs/config.md +++ b/src/docs/config.md @@ -479,7 +479,7 @@ This will now include a `data` property in your JSON output that includes the `p This may enable some extra autocomplete features in your IDE (where supported). {% set codeContent %} -/** @param {import("@11ty/eleventy").UserConfig} eleventyConfig */ +/** @param {import("@11ty/eleventy/UserConfig").default} eleventyConfig */ export default function (eleventyConfig) { // … };