1/*--------------------------------------------------------------------------------------------- 2 * Copyright (c) Microsoft Corporation. All rights reserved. 3 * Licensed under the MIT License. See License.txt in the project root for license information. 4 *--------------------------------------------------------------------------------------------*/ 5 6export function makeArray<T>(object: T | T[]): T[] { 7 return Array.isArray(object) ? object : [object]; 8} 9 10export enum SpecLocationSource { 11 GLOBAL = 'global', 12 LOCAL = 'local', 13} 14 15