@cfp-studio/core 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -135,7 +135,7 @@ type OnServerStart = (options: {
135
135
  * @param frameworkPlugins - 框架插件工厂数组
136
136
  * @returns 兼容插件的名称,如果未找到则返回 null
137
137
  */
138
- declare function findCompatiblePlugin(logger: Logger, rootDir: string, frameworkPlugins: FrameworkPluginFactory[]): Promise<string | null>;
138
+ declare function findCompatiblePlugin(logger: Logger, rootDir: string, frameworkPlugins: FrameworkPluginFactory[]): Promise<string>;
139
139
 
140
140
  declare function toVitePath(absoluteFilePath: string): string;
141
141
 
package/dist/index.d.ts CHANGED
@@ -135,7 +135,7 @@ type OnServerStart = (options: {
135
135
  * @param frameworkPlugins - 框架插件工厂数组
136
136
  * @returns 兼容插件的名称,如果未找到则返回 null
137
137
  */
138
- declare function findCompatiblePlugin(logger: Logger, rootDir: string, frameworkPlugins: FrameworkPluginFactory[]): Promise<string | null>;
138
+ declare function findCompatiblePlugin(logger: Logger, rootDir: string, frameworkPlugins: FrameworkPluginFactory[]): Promise<string>;
139
139
 
140
140
  declare function toVitePath(absoluteFilePath: string): string;
141
141