UNPKG

@siren-js/client

Version:
8 lines (7 loc) 362 B
import { Entity, SubEntity } from './models'; /** * Resolves a {@linkcode SubEntity} to an {@linkcode Entity}. An * `EmbeddedEntity` is returned as is, while an {@linkcode EmbeddedLink} is * {@linkcode follow | followed} and {@linkcode parse | parsed}. */ export declare function resolve<T extends object = object>(subEntity: SubEntity): Promise<Entity<T>>;