mirror of
https://github.com/dream-num/univer.git
synced 2026-09-24 15:32:18 +08:00
fix(dv): fix data validation plugin type to prevent loading error (#2084)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ICommandService, Plugin } from '@univerjs/core';
|
||||
import { ICommandService, Plugin, UniverInstanceType } from '@univerjs/core';
|
||||
import type { Dependency } from '@wendellhu/redi';
|
||||
import { Inject, Injector } from '@wendellhu/redi';
|
||||
import { DataValidatorRegistryService } from './services/data-validator-registry.service';
|
||||
@@ -28,6 +28,7 @@ const PLUGIN_NAME = 'data-validation';
|
||||
|
||||
export class UniverDataValidationPlugin extends Plugin {
|
||||
static override pluginName = PLUGIN_NAME;
|
||||
static override type = UniverInstanceType.UNIVER_SHEET;
|
||||
|
||||
constructor(
|
||||
_config: unknown,
|
||||
|
||||
Reference in New Issue
Block a user