mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-24 01:11:34 +01:00
a767e5e838
isArray should keep the output as readonly
11 lines
606 B
TypeScript
11 lines
606 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
interface ArrayConstructor {
|
|
isArray<T>(arg: ReadonlyArray<T> | null | undefined): arg is ReadonlyArray<T>;
|
|
isArray<T>(arg: Array<T> | null | undefined): arg is Array<T>;
|
|
isArray(arg: any): arg is Array<any>;
|
|
isArray<T>(arg: any): arg is Array<T>;
|
|
} |