Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/vs/editor/standalone/browser/standaloneServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ registerSingleton(IDefaultAccountService, StandaloneDefaultAccountService, Insta
* We don't want to eagerly instantiate services because embedders get a one time chance
* to override services when they create the first editor.
*/
export module StandaloneServices {
export namespace StandaloneServices {

const serviceCollection = new ServiceCollection();
for (const [id, descriptor] of getSingletonServiceDescriptors()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface IExtensionSignatureVerificationService {
verify(extensionId: string, version: string, vsixFilePath: string, signatureArchiveFilePath: string, clientTargetPlatform?: TargetPlatform): Promise<IExtensionSignatureVerificationResult | undefined>;
}

declare module vsceSign {
declare namespace vsceSign {
export function verify(vsixFilePath: string, signatureArchiveFilePath: string, verbose: boolean): Promise<ExtensionSignatureVerificationResult>;
}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/platform/sign/browser/signService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { IProductService } from '../../product/common/productService.js';
import { AbstractSignService, IVsdaValidator } from '../common/abstractSignService.js';
import { ISignService } from '../common/sign.js';

declare module vsdaWeb {
declare namespace vsdaWeb {
export function sign(salted_message: string): string;

// eslint-disable-next-line @typescript-eslint/naming-convention
Expand Down
2 changes: 1 addition & 1 deletion src/vs/platform/sign/node/signService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { AbstractSignService, IVsdaValidator } from '../common/abstractSignService.js';
import { ISignService } from '../common/sign.js';

declare module vsda {
declare namespace vsda {
// the signer is a native module that for historical reasons uses a lower case class name
// eslint-disable-next-line @typescript-eslint/naming-convention
export class signer {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/server/node/remoteExtensionHostAgentServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const require = createRequire(import.meta.url);

const SHUTDOWN_TIMEOUT = 5 * 60 * 1000;

declare module vsda {
declare namespace vsda {
// the signer is a native module that for historical reasons uses a lower case class name
// eslint-disable-next-line @typescript-eslint/naming-convention
export class signer {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/debug/common/debugProtocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/** Declaration module describing the VS Code debug protocol.
Auto-generated from json schema. Do not edit manually.
*/
declare module DebugProtocol {
declare namespace DebugProtocol {

/** Base class of requests, responses, and events. */
interface ProtocolMessage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type { NotebookCellOutputTransferData } from '../../../../../../platform/
// function. Imports are not allowed. This is stringified and injected into
// the webview.

declare module globalThis {
declare namespace globalThis {
const acquireVsCodeApi: () => ({
getState(): { [key: string]: unknown };
setState(data: { [key: string]: unknown }): void;
Expand Down
6 changes: 3 additions & 3 deletions src/vs/workbench/contrib/tasks/common/problemMatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export enum FileLocationKind {
Search
}

export module FileLocationKind {
export namespace FileLocationKind {
export function fromString(value: string): FileLocationKind | undefined {
value = value.toLowerCase();
if (value === 'absolute') {
Expand All @@ -55,7 +55,7 @@ export enum ProblemLocationKind {
Location
}

export module ProblemLocationKind {
export namespace ProblemLocationKind {
export function fromString(value: string): ProblemLocationKind | undefined {
value = value.toLowerCase();
if (value === 'file') {
Expand Down Expand Up @@ -117,7 +117,7 @@ export enum ApplyToKind {
closedDocuments
}

export module ApplyToKind {
export namespace ApplyToKind {
export function fromString(value: string): ApplyToKind | undefined {
value = value.toLowerCase();
if (value === 'alldocuments') {
Expand Down
Loading