Mark fields readonly

This commit is contained in:
Matt Bierner
2018-03-14 23:58:08 -07:00
parent ec0e23bd43
commit 0a8bb47d75
@@ -2,18 +2,16 @@
* 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 URI from 'vs/base/common/uri';
import { ResourceEditorInput } from 'vs/workbench/common/editor/resourceEditorInput';
import { ITextModelService } from 'vs/editor/common/services/resolverService';
import { IHashService } from 'vs/workbench/services/hash/common/hashService';
export interface HtmlInputOptions {
allowScripts?: boolean;
allowSvgs?: boolean;
svgWhiteList?: string[];
readonly allowScripts?: boolean;
readonly allowSvgs?: boolean;
readonly svgWhiteList?: string[];
}
export function areHtmlInputOptionsEqual(left: HtmlInputOptions, right: HtmlInputOptions) {