UNPKG

typescript-dotnet-amd

Version:

A JavaScript-Friendly .NET Based TypeScript Library.

19 lines (14 loc) 566 B
/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md */ export interface IKeyValuePair<TKey, TValue> { key:TKey; value:TValue; } export declare type KeyValuePair<TKey,TValue> = IKeyValuePair<TKey,TValue> | [TKey,TValue]; export interface IStringKeyValuePair<TValue> extends IKeyValuePair<string, TValue> { } export declare type StringKeyValuePair<TValue> = IStringKeyValuePair<TValue> | [string,TValue]; export default IKeyValuePair;