typescript-dotnet-amd
Version:
A JavaScript-Friendly .NET Based TypeScript Library.
12 lines (11 loc) • 399 B
TypeScript
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
*/
/**
* Initializes an array depending on the requested capacity.
* The returned array will have a .length equal to the value provided.
* @param length
* @returns {T[]}
*/
export declare function initialize<T>(length: number): T[];