mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
386 B
TypeScript
13 lines
386 B
TypeScript
// Type definitions for get-certain 1.0
|
|
// Project: https://github.com/wtgtybhertgeghgtwtg/get-certain#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = getCertain;
|
|
|
|
declare function getCertain<TKey, TValue>(
|
|
map: Map<TKey, TValue>,
|
|
key: TKey,
|
|
message?: string
|
|
): TValue;
|