Closed Mister-Hope closed 4 years ago
https://v1.vuepress.vuejs.org/zh/plugin/option-api.html#define
As the docs shown above,
export interface PluginOptionAPI { ... define?: Record<string, string> | (() => Record<string, string>) ... }
should be changed to
export interface PluginOptionAPI { ... define?: Record<string, any> | (() => Record<string, any>) ... }
because I can write
{ define: { aSimpleObject: { a: 1} } }
https://v1.vuepress.vuejs.org/zh/plugin/option-api.html#define
As the docs shown above,
should be changed to
because I can write