UNPKG

semantic-network

Version:

A utility library for manipulating a list of links that form a semantic interface to a network of resources.

6 lines (5 loc) 250 B
import { LinkedRepresentation } from 'semantic-link'; import { ApiOptions } from './apiOptions'; export interface ResourceResolver { (type: string): <T extends LinkedRepresentation>(resource: T, options?: ApiOptions) => Promise<T | undefined>; }