@microsoft/kiota-abstractions
Version:
Core abstractions for kiota generated libraries in TypeScript and JavaScript
14 lines • 748 B
TypeScript
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
/**
* Factory to create an UntypedString from a string.
* @param stringValue The string value to lookup the enum value from.
* @param originalType The type definition of the enum.
* @returns The enum value.
*/
export declare const getEnumValueFromStringValue: <T>(stringValue: string, originalType: Record<PropertyKey, PropertyKey>) => T | undefined;
//# sourceMappingURL=enumUtils.d.ts.map