File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -76,28 +76,28 @@ export interface Plugin {
76
76
*
77
77
* Runs for all modules in a project, before continuing to the `analyzePhase`
78
78
*/
79
- collectPhase ( params : CollectPhaseParams ) : void ;
79
+ collectPhase ? ( params : CollectPhaseParams ) : void ;
80
80
81
81
/**
82
82
* @summary Plugin hook that runs in the analyze phase.
83
83
*
84
84
* Runs for each AST node in each module.
85
85
* You can use this phase to access a module's AST nodes and mutate the manifest.
86
86
*/
87
- analyzePhase ( params : AnalyzePhaseParams ) : void ;
87
+ analyzePhase ? ( params : AnalyzePhaseParams ) : void ;
88
88
89
89
/**
90
90
* @summary Plugin hook that runs in the module-link phase.
91
91
*
92
92
* Post-processing hook that runs for each module, after analyzing.
93
93
* All information about your module should now be available.
94
94
*/
95
- moduleLinkPhase ( params : ModuleLinkPhaseParams ) : void ;
95
+ moduleLinkPhase ? ( params : ModuleLinkPhaseParams ) : void ;
96
96
97
97
/**
98
98
* @summary Plugin hook that runs in the package-link phase.
99
99
*
100
100
* Runs once per package, after modules have been parsed and after per-module post-processing
101
101
*/
102
- packageLinkPhase ( params : PackageLinkPhaseParams ) : void ;
102
+ packageLinkPhase ? ( params : PackageLinkPhaseParams ) : void ;
103
103
}
You can’t perform that action at this time.
0 commit comments