UNPKG

@ckeditor/ckeditor5-integrations-common

Version:

This package implements common utility modules for integration projects.

15 lines (14 loc) 587 B
import { SemanticVersion } from '../utils/version/isSemanticVersion.js'; import { VersionCompareResult } from '../utils/version/compareSemanticVersions.js'; /** * Compares currently installed bundle with passed semantic version. * * - `1` if installed version > version. * - `-1` if installed version < version * - `0` if both versions are equal. * - `null` if editor is not installed. * * @param version Semantic version to compare. * @returns Comparison result. */ export declare function compareInstalledCKBaseVersion(version: SemanticVersion): VersionCompareResult | null;