UNPKG

typescript-dotnet-core

Version:

A the core classes and utilities of a JavaScript-Friendly .NET Based TypeScript Library.

17 lines (13 loc) 555 B
/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md */ export default interface KeyValuePair<TKey, TValue> { key:TKey; value:TValue; } export declare type KeyValuePairOrTuple<TKey,TValue> = KeyValuePair<TKey,TValue> | [TKey,TValue]; export interface StringKeyValuePair<TValue> extends KeyValuePair<string, TValue> { } export declare type StringKeyValuePairOrTuple<TValue> = StringKeyValuePair<TValue> | [string,TValue];