Revert "Fix types for languages.yaml namespaces"

This reverts commit e784f842c3.
This commit is contained in:
Remco Haszing 2021-03-25 17:07:47 +01:00
parent 8d3e1626f3
commit 7f49a21a56
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

5
src/monaco.d.ts vendored
View file

@ -2,10 +2,8 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IEvent } from 'monaco-editor';
declare module 'monaco-editor' {
namespace languages.yaml {
declare namespace monaco.languages.yaml {
export interface DiagnosticsOptions {
/**
* If set, the validator will be enabled and perform syntax validation as well as schema based validation.
@ -54,4 +52,3 @@ declare module 'monaco-editor' {
export const yamlDefaults: LanguageServiceDefaults;
}
}