Skip to content

Define a base type for ThemeConfig instead of any #628

Closed
@kiaking

Description

@kiaking

Right now this break features like next and previous links with locales because the sidebar is supposed to be an array while it's supposed to be an object on locales but next and previous links do not support that format and TS is not picking up any problem.

If sidebar items is supposed to be defined outside of themeConfig, then move it out and expose it as a type. It can also be used inside locales in SiteData type

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions