expressive-code / expressive-code

A text marking & annotation engine for presenting source code on the web.

Home Page:https://expressive-code.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

styleOverrides.collapsibleSections types missing in 0.27.0

fflaten opened this issue · comments

collapsibleSections partial type is missing in styleOverrides.
Repro: https://stackblitz.com/edit/github-dqhp1q?file=astro.config.mjs

Maybe the type is not merging properly because this plugin is external?

Well spotted! The issue was that module declaration didn't get picked up during build (it was missing from the generated type declaration file). I moved it to the index.ts file now and that seems to do the trick.

I'll release a patch in a moment. :)

The fix is live now as v0.27.1 on NPM. Thank you for the report and the reproduction!

That was fast. Thanks 👏