Skip to content

Fix import path of the config's TypeScript type definitions#1881

Open
Sparragus wants to merge 1 commit into11ty:mainfrom
Sparragus:patch-1
Open

Fix import path of the config's TypeScript type definitions#1881
Sparragus wants to merge 1 commit into11ty:mainfrom
Sparragus:patch-1

Conversation

@Sparragus
Copy link

According to the package.json of eleventy, UserConfig is 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.

@tmcw
Copy link
Contributor

tmcw commented Jan 25, 2026

I'm not sure that this works with TypeScript 5.9 either - both locally and in the TS Playground TypeScript does not seem to accept a JavaScript implementation as a type definition file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants