From 2d6b5590c7bf2283382adf32a0bce08344bdbad1 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Wed, 17 Nov 2021 15:17:14 +0100 Subject: [PATCH] Remove unnecessary `"use strict"` directives --- src/typescript/languageFeatures.ts | 1 - src/typescript/monaco.contribution.ts | 1 - src/typescript/ts.worker.ts | 1 - src/typescript/tsMode.ts | 1 - src/typescript/tsWorker.ts | 1 - src/typescript/workerManager.ts | 1 - 6 files changed, 6 deletions(-) diff --git a/src/typescript/languageFeatures.ts b/src/typescript/languageFeatures.ts index cac3e8ee..19050b00 100644 --- a/src/typescript/languageFeatures.ts +++ b/src/typescript/languageFeatures.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { Diagnostic, diff --git a/src/typescript/monaco.contribution.ts b/src/typescript/monaco.contribution.ts index b00258a1..e47262f5 100644 --- a/src/typescript/monaco.contribution.ts +++ b/src/typescript/monaco.contribution.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import type * as mode from './tsMode'; import { typescriptVersion as tsversion } from './lib/typescriptServicesMetadata'; // do not import the whole typescriptServices here diff --git a/src/typescript/ts.worker.ts b/src/typescript/ts.worker.ts index 33b186a0..0f99bc09 100644 --- a/src/typescript/ts.worker.ts +++ b/src/typescript/ts.worker.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as edworker from 'monaco-editor-core/esm/vs/editor/editor.worker'; import { TypeScriptWorker, ICreateData } from './tsWorker'; diff --git a/src/typescript/tsMode.ts b/src/typescript/tsMode.ts index b1bdbdc2..1c7cc20b 100644 --- a/src/typescript/tsMode.ts +++ b/src/typescript/tsMode.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { WorkerManager } from './workerManager'; import type { TypeScriptWorker } from './tsWorker'; diff --git a/src/typescript/tsWorker.ts b/src/typescript/tsWorker.ts index dac53264..a0663f91 100644 --- a/src/typescript/tsWorker.ts +++ b/src/typescript/tsWorker.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import * as ts from './lib/typescriptServices'; import { libFileMap } from './lib/lib'; diff --git a/src/typescript/workerManager.ts b/src/typescript/workerManager.ts index d7f18924..8a21f2e6 100644 --- a/src/typescript/workerManager.ts +++ b/src/typescript/workerManager.ts @@ -2,7 +2,6 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -'use strict'; import { LanguageServiceDefaults } from './monaco.contribution'; import type { TypeScriptWorker } from './tsWorker';