@@ -31,7 +31,7 @@ export type PluginEntryOptions = {
31
31
/**
32
32
* Sub plugins
33
33
*/
34
- plugins : UserPlugins ;
34
+ plugins ? : UserPlugins ;
35
35
/**
36
36
* Edit the internal webpack config with webpack-chain.
37
37
*
@@ -94,19 +94,19 @@ export type PluginEntryOptions = {
94
94
*
95
95
* @see https://vuepress.vuejs.org/plugin/option-api.html#extendpagedata
96
96
*/
97
- extendPageData : < T extends PluginObject = PluginObject > ( page : Page & T ) => void ;
97
+ extendPageData ? : < T extends PluginObject = PluginObject > ( page : Page & T ) => void ;
98
98
/**
99
99
* A path to the mixin file which allows you to control the lifecycle of root component.
100
100
*
101
101
* @see https://vuepress.vuejs.org/plugin/option-api.html#clientrootmixin
102
102
*/
103
- clientRootMixin : string ;
103
+ clientRootMixin ? : string ;
104
104
/**
105
105
* Add extra pages pointing to a Markdown file:
106
106
*
107
107
* @see https://vuepress.vuejs.org/plugin/option-api.html#additionalpages
108
108
*/
109
- additionalPages :
109
+ additionalPages ? :
110
110
| Array < { path : string ; filePath : string } >
111
111
| AsyncHook <
112
112
[ ] ,
@@ -141,19 +141,19 @@ export type PluginEntry = PluginEntryOptions & {
141
141
*
142
142
* @see https://vuepress.vuejs.org/plugin/life-cycle.html#ready
143
143
*/
144
- ready : AsyncHook < [ ] , unknown > ;
144
+ ready ? : AsyncHook < [ ] , unknown > ;
145
145
/**
146
146
* Trigger when a new compilation is triggered
147
147
*
148
148
* @see https://vuepress.vuejs.org/plugin/life-cycle.html#updated
149
149
*/
150
- updated : Hook < [ ] , unknown > ;
150
+ updated ? : Hook < [ ] , unknown > ;
151
151
/**
152
152
* Called when a (production) build finishes, with an array of generated page HTML paths.
153
153
*
154
154
* @see https://vuepress.vuejs.org/plugin/life-cycle.html#generated
155
155
*/
156
- generated : AsyncHook < [ string [ ] ] , unknown > ;
156
+ generated ? : AsyncHook < [ string [ ] ] , unknown > ;
157
157
} ;
158
158
159
159
/**
0 commit comments