catalog-model: deprecate compareEntityToRef
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
@@ -66,7 +66,7 @@ export class CommonValidatorFunctions {
|
||||
static isValidUrl(value: unknown): boolean;
|
||||
}
|
||||
|
||||
// @public
|
||||
// @public @deprecated
|
||||
export function compareEntityToRef(
|
||||
entity: Entity,
|
||||
ref: EntityRef | EntityName,
|
||||
|
||||
@@ -234,6 +234,7 @@ export function stringifyEntityRef(
|
||||
* @param context - An optional context of default kind and namespace, that apply
|
||||
* to the ref if given
|
||||
* @returns True if matching, false otherwise
|
||||
* @deprecated compare using stringifyEntityRef instead.
|
||||
*/
|
||||
export function compareEntityToRef(
|
||||
entity: Entity,
|
||||
|
||||
Reference in New Issue
Block a user