@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
21 lines (19 loc) • 737 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IExtensionManifest } from '../../extensions/common/extensions.mjs';
export interface ITranslations {
[key: string]:
| string
| {
message: string;
comment: string[];
}
| undefined;
}
export declare function localizeManifest(
extensionManifest: IExtensionManifest,
translations: ITranslations,
fallbackTranslations?: ITranslations,
): IExtensionManifest;