mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Fix some types
This commit is contained in:
parent
cc3a1359ba
commit
8f21d86c00
|
@ -23,16 +23,14 @@ export interface IEditorScrollbarOptions {
|
|||
arrowSize?: number;
|
||||
/**
|
||||
* Render vertical scrollbar.
|
||||
* Accepted values: 'auto', 'visible', 'hidden'.
|
||||
* Defaults to 'auto'.
|
||||
*/
|
||||
vertical?: string;
|
||||
vertical?: 'auto' | 'visible' | 'hidden';
|
||||
/**
|
||||
* Render horizontal scrollbar.
|
||||
* Accepted values: 'auto', 'visible', 'hidden'.
|
||||
* Defaults to 'auto'.
|
||||
*/
|
||||
horizontal?: string;
|
||||
horizontal?: 'auto' | 'visible' | 'hidden';
|
||||
/**
|
||||
* Cast horizontal and vertical shadows when the content is scrolled.
|
||||
* Defaults to true.
|
||||
|
|
|
@ -418,7 +418,7 @@ export interface CompletionItem {
|
|||
* this completion. When `falsy` the [label](#CompletionItem.label)
|
||||
* is used.
|
||||
*/
|
||||
insertText: string;
|
||||
insertText?: string;
|
||||
/**
|
||||
* Addition rules (as bitmask) that should be applied when inserting
|
||||
* this completion.
|
||||
|
@ -633,8 +633,8 @@ export interface SignatureHelpContext {
|
|||
*/
|
||||
export interface SignatureHelpProvider {
|
||||
|
||||
readonly signatureHelpTriggerCharacters: ReadonlyArray<string>;
|
||||
readonly signatureHelpRetriggerCharacters: ReadonlyArray<string>;
|
||||
readonly signatureHelpTriggerCharacters?: ReadonlyArray<string>;
|
||||
readonly signatureHelpRetriggerCharacters?: ReadonlyArray<string>;
|
||||
|
||||
/**
|
||||
* Provide help for the signature at the given position and document.
|
||||
|
|
12
src/vs/monaco.d.ts
vendored
12
src/vs/monaco.d.ts
vendored
|
@ -2392,16 +2392,14 @@ declare namespace monaco.editor {
|
|||
arrowSize?: number;
|
||||
/**
|
||||
* Render vertical scrollbar.
|
||||
* Accepted values: 'auto', 'visible', 'hidden'.
|
||||
* Defaults to 'auto'.
|
||||
*/
|
||||
vertical?: string;
|
||||
vertical?: 'auto' | 'visible' | 'hidden';
|
||||
/**
|
||||
* Render horizontal scrollbar.
|
||||
* Accepted values: 'auto', 'visible', 'hidden'.
|
||||
* Defaults to 'auto'.
|
||||
*/
|
||||
horizontal?: string;
|
||||
horizontal?: 'auto' | 'visible' | 'hidden';
|
||||
/**
|
||||
* Cast horizontal and vertical shadows when the content is scrolled.
|
||||
* Defaults to true.
|
||||
|
@ -4765,7 +4763,7 @@ declare namespace monaco.languages {
|
|||
* this completion. When `falsy` the [label](#CompletionItem.label)
|
||||
* is used.
|
||||
*/
|
||||
insertText: string;
|
||||
insertText?: string;
|
||||
/**
|
||||
* Addition rules (as bitmask) that should be applied when inserting
|
||||
* this completion.
|
||||
|
@ -4941,8 +4939,8 @@ declare namespace monaco.languages {
|
|||
* the [parameter hints](https://code.visualstudio.com/docs/editor/intellisense)-feature.
|
||||
*/
|
||||
export interface SignatureHelpProvider {
|
||||
readonly signatureHelpTriggerCharacters: ReadonlyArray<string>;
|
||||
readonly signatureHelpRetriggerCharacters: ReadonlyArray<string>;
|
||||
readonly signatureHelpTriggerCharacters?: ReadonlyArray<string>;
|
||||
readonly signatureHelpRetriggerCharacters?: ReadonlyArray<string>;
|
||||
/**
|
||||
* Provide help for the signature at the given position and document.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue