mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Init
This commit is contained in:
parent
dc598757e7
commit
2380ce142c
15 changed files with 1249 additions and 0 deletions
39
src/monaco.d.ts
vendored
Normal file
39
src/monaco.d.ts
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
declare module monaco.languages.css {
|
||||
export interface DiagnosticsOptions {
|
||||
validate?: boolean;
|
||||
lint?: {
|
||||
compatibleVendorPrefixes?: 'ignore' | 'warning' | 'error',
|
||||
vendorPrefix?: 'ignore' | 'warning' | 'error',
|
||||
duplicateProperties?: 'ignore' | 'warning' | 'error',
|
||||
emptyRules?: 'ignore' | 'warning' | 'error',
|
||||
importStatement?: 'ignore' | 'warning' | 'error',
|
||||
boxModel?: 'ignore' | 'warning' | 'error',
|
||||
universalSelector?: 'ignore' | 'warning' | 'error',
|
||||
zeroUnits?: 'ignore' | 'warning' | 'error',
|
||||
fontFaceProperties?: 'ignore' | 'warning' | 'error',
|
||||
hexColorLength?: 'ignore' | 'warning' | 'error',
|
||||
argumentsInColorFunction?: 'ignore' | 'warning' | 'error',
|
||||
unknownProperties?: 'ignore' | 'warning' | 'error',
|
||||
ieHack?: 'ignore' | 'warning' | 'error',
|
||||
unknownVendorSpecificProperties?: 'ignore' | 'warning' | 'error',
|
||||
propertyIgnoredDueToDisplay?: 'ignore' | 'warning' | 'error',
|
||||
important?: 'ignore' | 'warning' | 'error',
|
||||
float?: 'ignore' | 'warning' | 'error',
|
||||
idSelector?: 'ignore' | 'warning' | 'error'
|
||||
}
|
||||
}
|
||||
|
||||
export interface LanguageServiceDefaults {
|
||||
onDidChange: IEvent<LanguageServiceDefaults>;
|
||||
diagnosticsOptions: DiagnosticsOptions;
|
||||
setDiagnosticsOptions(options: DiagnosticsOptions): void;
|
||||
}
|
||||
|
||||
export var cssDefaults: LanguageServiceDefaults;
|
||||
export var lessDefaults: LanguageServiceDefaults;
|
||||
export var scssDefaults: LanguageServiceDefaults;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue