stackblitz / tutorialkit

TutorialKit by StackBlitz - Create interactive tutorials powered by the WebContainer API
https://tutorialkit.dev
MIT License
503 stars 48 forks source link

fix(astro): types of override components to optional #376

Closed AriPerkkio closed 1 month ago

AriPerkkio commented 1 month ago

All keys of components should be optional.

18:30:26.671 | > astro check && astro build
18:30:26.671 |  
18:30:30.516 | ✘ [ERROR] The build was canceled
18:30:30.516 |  
18:30:30.519 | 15:30:30 [types] Generated 1.71s
18:30:30.526 | 15:30:30 [check] Getting diagnostics for Astro files in /opt/buildhome/repo...
18:30:32.992 | astro.config.ts:10:7 - error ts(2741): Property 'HeadTags' is missing in type '{ TopBar: string; }' but required in type 'OverrideComponentsOptions'.
18:30:32.993 |  
18:30:32.993 | 10       components: {
18:30:32.993 | ~~~~~~~~~~
18:30:32.993
stackblitz[bot] commented 1 month ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.