catalog-model: deprecate compareEntityToRef

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2022-02-15 14:50:37 +01:00
parent 1c9891e3fb
commit 0d03e42a89
5 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ export class CommonValidatorFunctions {
static isValidUrl(value: unknown): boolean;
}
// @public
// @public @deprecated
export function compareEntityToRef(
entity: Entity,
ref: EntityRef | EntityName,
+1
View File
@@ -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,