UNPKG

@thi.ng/api

Version:

Common, generic types, interfaces & mixins

16 lines 337 B
import type { Maybe } from "./null.js"; /** * @param K - key type * @param V - value type */ export interface IGet<K, V> { get(key: K, notfound?: V): Maybe<V>; } /** * @param K - key type * @param V - value type */ export interface IGetIn<K, V> { getIn(key: K[], notfound?: V): Maybe<V>; } //# sourceMappingURL=get.d.ts.map