@types/atom
Advanced tools
Comparing version 1.40.10 to 1.40.11
@@ -47,6 +47,6 @@ import { Disposable } from '../../../index'; | ||
options?: { | ||
reversed?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
clipDirection?: 'backward' | 'forward' | 'closest'; | ||
reversed?: boolean | undefined; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
clipDirection?: 'backward' | 'forward' | 'closest' | undefined; | ||
}, | ||
@@ -62,5 +62,5 @@ ): DisplayMarker; | ||
options?: { | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
clipDirection?: 'backward' | 'forward' | 'closest'; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
clipDirection?: 'backward' | 'forward' | 'closest' | undefined; | ||
}, | ||
@@ -73,5 +73,5 @@ ): DisplayMarker; | ||
options?: { | ||
reversed?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
reversed?: boolean | undefined; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
}, | ||
@@ -87,4 +87,4 @@ ): DisplayMarker; | ||
options?: { | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
}, | ||
@@ -116,36 +116,36 @@ ): DisplayMarker; | ||
/** Only include markers starting at this Point in buffer coordinates. */ | ||
startBufferPosition?: PointCompatible; | ||
startBufferPosition?: PointCompatible | undefined; | ||
/** Only include markers ending at this Point in buffer coordinates. */ | ||
endBufferPosition?: PointCompatible; | ||
endBufferPosition?: PointCompatible | undefined; | ||
/** Only include markers starting at this Point in screen coordinates. */ | ||
startScreenPosition?: PointCompatible; | ||
startScreenPosition?: PointCompatible | undefined; | ||
/** Only include markers ending at this Point in screen coordinates. */ | ||
endScreenPosition?: PointCompatible; | ||
endScreenPosition?: PointCompatible | undefined; | ||
/** Only include markers starting inside this Range in buffer coordinates. */ | ||
startsInBufferRange?: RangeCompatible; | ||
startsInBufferRange?: RangeCompatible | undefined; | ||
/** Only include markers ending inside this Range in buffer coordinates. */ | ||
endsInBufferRange?: RangeCompatible; | ||
endsInBufferRange?: RangeCompatible | undefined; | ||
/** Only include markers starting inside this Range in screen coordinates. */ | ||
startsInScreenRange?: RangeCompatible; | ||
startsInScreenRange?: RangeCompatible | undefined; | ||
/** Only include markers ending inside this Range in screen coordinates. */ | ||
endsInScreenRange?: RangeCompatible; | ||
endsInScreenRange?: RangeCompatible | undefined; | ||
/** Only include markers starting at this row in buffer coordinates. */ | ||
startBufferRow?: number; | ||
startBufferRow?: number | undefined; | ||
/** Only include markers ending at this row in buffer coordinates. */ | ||
endBufferRow?: number; | ||
endBufferRow?: number | undefined; | ||
/** Only include markers starting at this row in screen coordinates. */ | ||
startScreenRow?: number; | ||
startScreenRow?: number | undefined; | ||
/** Only include markers ending at this row in screen coordinates. */ | ||
endScreenRow?: number; | ||
endScreenRow?: number | undefined; | ||
@@ -156,3 +156,3 @@ /** | ||
*/ | ||
intersectsBufferRowRange?: [number, number]; | ||
intersectsBufferRowRange?: [number, number] | undefined; | ||
@@ -163,21 +163,21 @@ /** | ||
*/ | ||
intersectsScreenRowRange?: [number, number]; | ||
intersectsScreenRowRange?: [number, number] | undefined; | ||
/** Only include markers containing this Range in buffer coordinates. */ | ||
containsBufferRange?: RangeCompatible; | ||
containsBufferRange?: RangeCompatible | undefined; | ||
/** Only include markers containing this Point in buffer coordinates. */ | ||
containsBufferPosition?: PointCompatible; | ||
containsBufferPosition?: PointCompatible | undefined; | ||
/** Only include markers contained in this Range in buffer coordinates. */ | ||
containedInBufferRange?: RangeCompatible; | ||
containedInBufferRange?: RangeCompatible | undefined; | ||
/** Only include markers contained in this Range in screen coordinates. */ | ||
containedInScreenRange?: RangeCompatible; | ||
containedInScreenRange?: RangeCompatible | undefined; | ||
/** Only include markers intersecting this Range in buffer coordinates. */ | ||
intersectsBufferRange?: RangeCompatible; | ||
intersectsBufferRange?: RangeCompatible | undefined; | ||
/** Only include markers intersecting this Range in screen coordinates. */ | ||
intersectsScreenRange?: RangeCompatible; | ||
intersectsScreenRange?: RangeCompatible | undefined; | ||
} |
@@ -96,3 +96,3 @@ import { Disposable } from '../../../index'; | ||
screenRange: RangeCompatible, | ||
options?: { reversed?: boolean; clipDirection?: 'backward' | 'forward' | 'closest' }, | ||
options?: { reversed?: boolean | undefined; clipDirection?: 'backward' | 'forward' | 'closest' | undefined }, | ||
): void; | ||
@@ -99,0 +99,0 @@ |
@@ -43,5 +43,5 @@ import { Disposable } from '../../../index'; | ||
options?: { | ||
reversed?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
reversed?: boolean | undefined; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
}, | ||
@@ -54,4 +54,4 @@ ): Marker; | ||
options?: { | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
}, | ||
@@ -79,27 +79,27 @@ ): Marker; | ||
/** Only include markers that start at the given Point. */ | ||
startPosition?: PointCompatible; | ||
startPosition?: PointCompatible | undefined; | ||
/** Only include markers that end at the given Point. */ | ||
endPosition?: PointCompatible; | ||
endPosition?: PointCompatible | undefined; | ||
/** Only include markers that start inside the given Range. */ | ||
startsInRange?: RangeCompatible; | ||
startsInRange?: RangeCompatible | undefined; | ||
/** Only include markers that end inside the given Range. */ | ||
endsInRange?: RangeCompatible; | ||
endsInRange?: RangeCompatible | undefined; | ||
/** Only include markers that contain the given Point, inclusive. */ | ||
containsPoint?: PointCompatible; | ||
containsPoint?: PointCompatible | undefined; | ||
/** Only include markers that contain the given Range, inclusive. */ | ||
containsRange?: RangeCompatible; | ||
containsRange?: RangeCompatible | undefined; | ||
/** Only include markers that start at the given row number. */ | ||
startRow?: number; | ||
startRow?: number | undefined; | ||
/** Only include markers that end at the given row number. */ | ||
endRow?: number; | ||
endRow?: number | undefined; | ||
/** Only include markers that intersect the given row number. */ | ||
intersectsRow?: number; | ||
intersectsRow?: number | undefined; | ||
} |
@@ -77,3 +77,3 @@ import { Disposable } from '../../../index'; | ||
*/ | ||
setRange(range: RangeCompatible, params?: { reversed?: boolean; exclusive?: boolean }): boolean; | ||
setRange(range: RangeCompatible, params?: { reversed?: boolean | undefined; exclusive?: boolean | undefined }): boolean; | ||
@@ -122,9 +122,9 @@ /** | ||
/** Whether or not the marker should be tailed. */ | ||
tailed?: boolean; | ||
tailed?: boolean | undefined; | ||
/** Creates the marker in a reversed orientation. */ | ||
reversed?: boolean; | ||
reversed?: boolean | undefined; | ||
/** Determines the rules by which changes to the buffer invalidate the marker. */ | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
@@ -135,6 +135,6 @@ /** | ||
*/ | ||
exclusive?: boolean; | ||
exclusive?: boolean | undefined; | ||
/** Custom properties to be associated with the marker. */ | ||
properties?: object; | ||
properties?: object | undefined; | ||
} | ||
@@ -141,0 +141,0 @@ |
@@ -63,3 +63,3 @@ import { ReadStream, WriteStream } from 'fs'; | ||
/** The initial string text of the buffer. */ | ||
text?: string; | ||
text?: string | undefined; | ||
/** | ||
@@ -73,3 +73,3 @@ * A function that returns a Boolean indicating whether the buffer should | ||
/** Returns a plain javascript object representation of the TextBuffer. */ | ||
serialize(options?: { markerLayers?: boolean; history?: boolean }): object; | ||
serialize(options?: { markerLayers?: boolean | undefined; history?: boolean | undefined }): object; | ||
@@ -289,3 +289,3 @@ /** Returns the unique identifier for this buffer. */ | ||
/** Create a layer to contain a set of related markers. */ | ||
addMarkerLayer(options?: { maintainHistory?: boolean; persistent?: boolean; role?: string }): MarkerLayer; | ||
addMarkerLayer(options?: { maintainHistory?: boolean | undefined; persistent?: boolean | undefined; role?: string | undefined }): MarkerLayer; | ||
@@ -305,5 +305,5 @@ /** | ||
properties?: { | ||
reversed?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
reversed?: boolean | undefined; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
}, | ||
@@ -316,4 +316,4 @@ ): Marker; | ||
options?: { | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
exclusive?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
exclusive?: boolean | undefined; | ||
}, | ||
@@ -349,3 +349,3 @@ ): Marker; | ||
transact<T>( | ||
optionsOrInterval: number | ({ groupingInterval?: number } & HistoryTransactionOptions), | ||
optionsOrInterval: number | ({ groupingInterval?: number | undefined } & HistoryTransactionOptions), | ||
fn: () => T, | ||
@@ -645,3 +645,3 @@ ): T; | ||
/** The file's encoding. */ | ||
encoding?: string; | ||
encoding?: string | undefined; | ||
@@ -673,6 +673,6 @@ /** | ||
/** The number of lines before the matched line to include in the results object. */ | ||
leadingContextLineCount?: number; | ||
leadingContextLineCount?: number | undefined; | ||
/** The number of lines after the matched line to include in the results object. */ | ||
trailingContextLineCount?: number; | ||
trailingContextLineCount?: number | undefined; | ||
} |
{ | ||
"name": "@types/atom", | ||
"version": "1.40.10", | ||
"version": "1.40.11", | ||
"description": "TypeScript definitions for Atom", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/atom", | ||
"license": "MIT", | ||
@@ -39,4 +40,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "f7c30657febb50b0e992796226487e03d89a9b70f8706a576728be366e495e8b", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "1427405f682740be6d801180cc2d171d5b72b70135e8e9ad1069ca0f9f109d6a", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 16 Mar 2021 11:00:40 GMT | ||
* Last updated: Wed, 07 Jul 2021 21:44:35 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
@@ -141,5 +141,5 @@ import { | ||
pathsToOpen: ReadonlyArray<string>; | ||
newWindow?: boolean; | ||
devMode?: boolean; | ||
safeMode?: boolean; | ||
newWindow?: boolean | undefined; | ||
devMode?: boolean | undefined; | ||
safeMode?: boolean | undefined; | ||
}): void; | ||
@@ -208,3 +208,3 @@ | ||
/** Set the dimensions of the window. */ | ||
setWindowDimensions(dimensions: { x?: number; y?: number; width?: number; height?: number }): Promise<object>; | ||
setWindowDimensions(dimensions: { x?: number | undefined; y?: number | undefined; width?: number | undefined; height?: number | undefined }): Promise<object>; | ||
@@ -242,3 +242,3 @@ // Messaging the User | ||
*/ | ||
confirm(options: { message: string; detailedMessage?: string; buttons?: ReadonlyArray<string> }): void; | ||
confirm(options: { message: string; detailedMessage?: string | undefined; buttons?: ReadonlyArray<string> | undefined }): void; | ||
@@ -258,6 +258,6 @@ /** | ||
message: string; | ||
detailedMessage?: string; | ||
detailedMessage?: string | undefined; | ||
buttons?: { | ||
[key: string]: () => void; | ||
}; | ||
} | undefined; | ||
}): number; | ||
@@ -293,27 +293,27 @@ | ||
/** The type of the confirmation prompt. */ | ||
type?: 'none' | 'info' | 'error' | 'question' | 'warning'; | ||
type?: 'none' | 'info' | 'error' | 'question' | 'warning' | undefined; | ||
/** The text for the buttons. */ | ||
buttons?: ReadonlyArray<string>; | ||
buttons?: ReadonlyArray<string> | undefined; | ||
/** The index for the button to be selected by default in the prompt. */ | ||
defaultId?: number; | ||
defaultId?: number | undefined; | ||
/** The title for the prompt. */ | ||
title?: string; | ||
title?: string | undefined; | ||
/** The content of the message box. */ | ||
message?: string; | ||
message?: string | undefined; | ||
/** Additional information regarding the message. */ | ||
detail?: string; | ||
detail?: string | undefined; | ||
/** If provided, the message box will include a checkbox with the given label. */ | ||
checkboxLabel?: string; | ||
checkboxLabel?: string | undefined; | ||
/** Initial checked state of the checkbox. false by default. */ | ||
checkboxChecked?: boolean; | ||
checkboxChecked?: boolean | undefined; | ||
/** An Electron NativeImage to use as the prompt's icon. */ | ||
icon?: object; | ||
icon?: object | undefined; | ||
@@ -328,3 +328,3 @@ /** | ||
*/ | ||
cancelId?: number; | ||
cancelId?: number | undefined; | ||
@@ -337,3 +337,3 @@ /** | ||
*/ | ||
noLink?: boolean; | ||
noLink?: boolean | undefined; | ||
@@ -344,3 +344,3 @@ /** | ||
*/ | ||
normalizeAccessKeys?: boolean; | ||
normalizeAccessKeys?: boolean | undefined; | ||
} | ||
@@ -347,0 +347,0 @@ |
@@ -9,3 +9,3 @@ import { ChildProcess } from 'child_process'; | ||
export class BufferedProcess { | ||
readonly process?: ChildProcess; | ||
readonly process?: ChildProcess | undefined; | ||
@@ -36,6 +36,6 @@ constructor(options: ProcessOptions); | ||
/** The array of arguments to pass to the command. */ | ||
args?: ReadonlyArray<string>; | ||
args?: ReadonlyArray<string> | undefined; | ||
/** The options object to pass to Node's ChildProcess.spawn method. */ | ||
options?: SpawnProcessOptions; | ||
options?: SpawnProcessOptions | undefined; | ||
@@ -63,3 +63,3 @@ /** | ||
*/ | ||
autoStart?: boolean; | ||
autoStart?: boolean | undefined; | ||
} | ||
@@ -69,18 +69,18 @@ | ||
/** Current working directory of the child process. */ | ||
cwd?: string; | ||
cwd?: string | undefined; | ||
/** Environment key-value pairs. */ | ||
env?: { [key: string]: string }; | ||
env?: { [key: string]: string } | undefined; | ||
/** The child's stdio configuration. */ | ||
stdio?: string | Array<string | number>; | ||
stdio?: string | Array<string | number> | undefined; | ||
/** Prepare child to run independently of its parent process. */ | ||
detached?: boolean; | ||
detached?: boolean | undefined; | ||
/** Sets the user identity of the process. */ | ||
uid?: number; | ||
uid?: number | undefined; | ||
/** Sets the group identity of the process. */ | ||
gid?: number; | ||
gid?: number | undefined; | ||
@@ -91,3 +91,3 @@ /** | ||
*/ | ||
shell?: boolean | string; | ||
shell?: boolean | string | undefined; | ||
} |
@@ -10,5 +10,5 @@ import { CommandEvent, CompositeDisposable, Disposable } from '../index'; | ||
didDispatch(event: CommandEvent<TargetType>): void | Promise<void>; | ||
displayName?: string; | ||
description?: string; | ||
hiddenInCommandPalette?: boolean; | ||
displayName?: string | undefined; | ||
description?: string | undefined; | ||
hiddenInCommandPalette?: boolean | undefined; | ||
} | ||
@@ -52,4 +52,4 @@ | ((event: CommandEvent<TargetType>) => void | Promise<void>); | ||
displayName: string; | ||
description?: string; | ||
tags?: string[]; | ||
description?: string | undefined; | ||
tags?: string[] | undefined; | ||
}>; | ||
@@ -56,0 +56,0 @@ |
@@ -33,3 +33,3 @@ import { ConfigValues, Disposable, ScopeDescriptor } from '../index'; | ||
keyPath: T, | ||
callback: (values: { newValue: ConfigValues[T]; oldValue?: ConfigValues[T] }) => void, | ||
callback: (values: { newValue: ConfigValues[T]; oldValue?: ConfigValues[T] | undefined }) => void, | ||
): Disposable; | ||
@@ -43,3 +43,3 @@ /** | ||
options: { scope: string[] | ScopeDescriptor }, | ||
callback: (values: { newValue: ConfigValues[T]; oldValue?: ConfigValues[T] }) => void, | ||
callback: (values: { newValue: ConfigValues[T]; oldValue?: ConfigValues[T] | undefined }) => void, | ||
): Disposable; | ||
@@ -52,5 +52,5 @@ | ||
options?: { | ||
sources?: string[]; | ||
excludeSources?: string[]; | ||
scope?: string[] | ScopeDescriptor; | ||
sources?: string[] | undefined; | ||
excludeSources?: string[] | undefined; | ||
scope?: string[] | ScopeDescriptor | undefined; | ||
}, | ||
@@ -66,7 +66,7 @@ ): ConfigValues[T]; | ||
value: ConfigValues[T], | ||
options?: { scopeSelector?: string; source?: string }, | ||
options?: { scopeSelector?: string | undefined; source?: string | undefined }, | ||
): void; | ||
/** Restore the setting at keyPath to its default value. */ | ||
unset(keyPath: string, options?: { scopeSelector?: string; source?: string }): void; | ||
unset(keyPath: string, options?: { scopeSelector?: string | undefined; source?: string | undefined }): void; | ||
@@ -79,3 +79,3 @@ /** | ||
keyPath: T, | ||
options?: { sources?: string[]; excludeSources?: string[]; scope?: ScopeDescriptor }, | ||
options?: { sources?: string[] | undefined; excludeSources?: string[] | undefined; scope?: ScopeDescriptor | undefined }, | ||
): Array<{ scopeDescriptor: ScopeDescriptor; value: ConfigValues[T] }>; | ||
@@ -82,0 +82,0 @@ |
@@ -13,3 +13,3 @@ import { Disposable } from '../index'; | ||
/** The menu item's label. */ | ||
label?: string; | ||
label?: string | undefined; | ||
@@ -20,3 +20,3 @@ /** | ||
*/ | ||
command?: string; | ||
command?: string | undefined; | ||
@@ -27,9 +27,9 @@ /** | ||
*/ | ||
enabled?: boolean; | ||
enabled?: boolean | undefined; | ||
/** An array of additional items. */ | ||
submenu?: ReadonlyArray<ContextMenuOptions>; | ||
submenu?: ReadonlyArray<ContextMenuOptions> | undefined; | ||
/** Whether the menu item should appear in the menu. Defaults to true. */ | ||
visible?: boolean; | ||
visible?: boolean | undefined; | ||
@@ -49,6 +49,6 @@ /** | ||
/** Place this menu item before the menu items representing the given commands. */ | ||
before?: ReadonlyArray<string>; | ||
before?: ReadonlyArray<string> | undefined; | ||
/** Place this menu item after the menu items representing the given commands. */ | ||
after?: ReadonlyArray<string>; | ||
after?: ReadonlyArray<string> | undefined; | ||
@@ -59,3 +59,3 @@ /** | ||
*/ | ||
beforeGroupContaining?: ReadonlyArray<string>; | ||
beforeGroupContaining?: ReadonlyArray<string> | undefined; | ||
@@ -66,3 +66,3 @@ /** | ||
*/ | ||
afterGroupContaining?: ReadonlyArray<string>; | ||
afterGroupContaining?: ReadonlyArray<string> | undefined; | ||
} |
@@ -20,3 +20,3 @@ import { DisplayMarker, Disposable, Point, PointCompatible, Range, ScopeDescriptor } from '../index'; | ||
/** Moves a cursor to a given screen position. */ | ||
setScreenPosition(screenPosition: PointCompatible, options?: { autoscroll?: boolean }): void; | ||
setScreenPosition(screenPosition: PointCompatible, options?: { autoscroll?: boolean | undefined }): void; | ||
@@ -27,3 +27,3 @@ /** Returns the screen position of the cursor as a Point. */ | ||
/** Moves a cursor to a given buffer position. */ | ||
setBufferPosition(bufferPosition: PointCompatible, options?: { autoscroll?: boolean }): void; | ||
setBufferPosition(bufferPosition: PointCompatible, options?: { autoscroll?: boolean | undefined }): void; | ||
@@ -72,3 +72,3 @@ /** Returns the current buffer position as an Array. */ | ||
/** Returns whether this cursor is between a word's start and end. */ | ||
isInsideWord(options?: { wordRegex?: RegExp }): boolean; | ||
isInsideWord(options?: { wordRegex?: RegExp | undefined }): boolean; | ||
@@ -98,12 +98,12 @@ /** Returns the indentation level of the current line. */ | ||
/** Moves the cursor up one screen row. */ | ||
moveUp(rowCount?: number, options?: { moveToEndOfSelection?: boolean }): void; | ||
moveUp(rowCount?: number, options?: { moveToEndOfSelection?: boolean | undefined }): void; | ||
/** Moves the cursor down one screen row. */ | ||
moveDown(rowCount?: number, options?: { moveToEndOfSelection?: boolean }): void; | ||
moveDown(rowCount?: number, options?: { moveToEndOfSelection?: boolean | undefined }): void; | ||
/** Moves the cursor left one screen column. */ | ||
moveLeft(columnCount?: number, options?: { moveToEndOfSelection?: boolean }): void; | ||
moveLeft(columnCount?: number, options?: { moveToEndOfSelection?: boolean | undefined }): void; | ||
/** Moves the cursor right one screen column. */ | ||
moveRight(columnCount?: number, options?: { moveToEndOfSelection?: boolean }): void; | ||
moveRight(columnCount?: number, options?: { moveToEndOfSelection?: boolean | undefined }): void; | ||
@@ -166,3 +166,3 @@ /** Moves the cursor to the top of the buffer. */ | ||
*/ | ||
getPreviousWordBoundaryBufferPosition(options?: { wordRegex?: RegExp }): Point; | ||
getPreviousWordBoundaryBufferPosition(options?: { wordRegex?: RegExp | undefined }): Point; | ||
@@ -173,22 +173,22 @@ /** | ||
*/ | ||
getNextWordBoundaryBufferPosition(options?: { wordRegex?: RegExp }): Point; | ||
getNextWordBoundaryBufferPosition(options?: { wordRegex?: RegExp | undefined }): Point; | ||
/** Retrieves the buffer position of where the current word starts. */ | ||
getBeginningOfCurrentWordBufferPosition(options?: { | ||
wordRegex?: RegExp; | ||
includeNonWordCharacters?: boolean; | ||
allowPrevious?: boolean; | ||
wordRegex?: RegExp | undefined; | ||
includeNonWordCharacters?: boolean | undefined; | ||
allowPrevious?: boolean | undefined; | ||
}): Point; | ||
/** Retrieves the buffer position of where the current word ends. */ | ||
getEndOfCurrentWordBufferPosition(options?: { wordRegex?: RegExp; includeNonWordCharacters?: boolean }): Point; | ||
getEndOfCurrentWordBufferPosition(options?: { wordRegex?: RegExp | undefined; includeNonWordCharacters?: boolean | undefined }): Point; | ||
/** Retrieves the buffer position of where the next word starts. */ | ||
getBeginningOfNextWordBufferPosition(options?: { wordRegex?: RegExp }): Point; | ||
getBeginningOfNextWordBufferPosition(options?: { wordRegex?: RegExp | undefined }): Point; | ||
/** Returns the buffer Range occupied by the word located under the cursor. */ | ||
getCurrentWordBufferRange(options?: { wordRegex?: RegExp }): Range; | ||
getCurrentWordBufferRange(options?: { wordRegex?: RegExp | undefined }): Range; | ||
/** Returns the buffer Range for the current line. */ | ||
getCurrentLineBufferRange(options?: { includeNewline?: boolean }): Range; | ||
getCurrentLineBufferRange(options?: { includeNewline?: boolean | undefined }): Range; | ||
@@ -226,6 +226,6 @@ /** | ||
/** Get the RegExp used by the cursor to determine what a "word" is. */ | ||
wordRegExp(options?: { includeNonWordCharacters?: boolean }): RegExp; | ||
wordRegExp(options?: { includeNonWordCharacters?: boolean | undefined }): RegExp; | ||
/** Get the RegExp used by the cursor to determine what a "subword" is. */ | ||
subwordRegExp(options?: { backwards?: boolean }): RegExp; | ||
subwordRegExp(options?: { backwards?: boolean | undefined }): RegExp; | ||
} | ||
@@ -232,0 +232,0 @@ |
@@ -58,3 +58,3 @@ import { DecorationPropsChangedEvent, DisplayMarker, Disposable } from '../index'; | ||
*/ | ||
class?: string; | ||
class?: string | undefined; | ||
@@ -65,3 +65,3 @@ /** | ||
*/ | ||
style?: object; | ||
style?: object | undefined; | ||
@@ -72,3 +72,3 @@ /** | ||
*/ | ||
item?: object; | ||
item?: object | undefined; | ||
@@ -79,3 +79,3 @@ /** | ||
*/ | ||
onlyHead?: boolean; | ||
onlyHead?: boolean | undefined; | ||
@@ -86,3 +86,3 @@ /** | ||
*/ | ||
onlyEmpty?: boolean; | ||
onlyEmpty?: boolean | undefined; | ||
@@ -93,3 +93,3 @@ /** | ||
*/ | ||
onlyNonEmpty?: boolean; | ||
onlyNonEmpty?: boolean | undefined; | ||
@@ -101,3 +101,3 @@ /** | ||
*/ | ||
omitEmptyLastRow?: boolean; | ||
omitEmptyLastRow?: boolean | undefined; | ||
@@ -110,3 +110,3 @@ /** | ||
*/ | ||
position?: 'head' | 'tail' | 'before' | 'after'; | ||
position?: 'head' | 'tail' | 'before' | 'after' | undefined; | ||
@@ -118,3 +118,3 @@ /** | ||
*/ | ||
order?: number; | ||
order?: number | undefined; | ||
@@ -126,3 +126,3 @@ /** | ||
*/ | ||
avoidOverflow?: boolean; | ||
avoidOverflow?: boolean | undefined; | ||
} | ||
@@ -132,3 +132,3 @@ | ||
/** One of several supported decoration types. */ | ||
type?: 'line' | 'line-number' | 'text' | 'highlight' | 'block' | 'cursor'; | ||
type?: 'line' | 'line-number' | 'text' | 'highlight' | 'block' | 'cursor' | undefined; | ||
} | ||
@@ -138,6 +138,6 @@ | ||
/** One of several supported decoration types. */ | ||
type?: 'line' | 'line-number' | 'text' | 'highlight' | 'overlay' | 'gutter' | 'block' | 'cursor'; | ||
type?: 'line' | 'line-number' | 'text' | 'highlight' | 'overlay' | 'gutter' | 'block' | 'cursor' | undefined; | ||
/** The name of the gutter we're decorating, if type is "gutter". */ | ||
gutterName?: string; | ||
gutterName?: string | undefined; | ||
} |
@@ -7,4 +7,4 @@ export interface WindowLoadSettings { | ||
readonly safeMode: boolean; | ||
readonly env?: { [key: string]: string | undefined }; | ||
readonly profileStartup?: boolean; | ||
readonly env?: { [key: string]: string | undefined } | undefined; | ||
readonly profileStartup?: boolean | undefined; | ||
} |
@@ -7,5 +7,5 @@ import { Config, Disposable, Project } from '../index'; | ||
/** Creates a new GitRepository instance. */ | ||
static open(path: string, options?: { refreshOnWindowFocus?: boolean }): GitRepository; | ||
static open(path: string, options?: { refreshOnWindowFocus?: boolean | undefined }): GitRepository; | ||
constructor(path: string, options?: { refreshOnWindowFocus?: boolean; config?: Config; project?: Project }); | ||
constructor(path: string, options?: { refreshOnWindowFocus?: boolean | undefined; config?: Config | undefined; project?: Project | undefined }); | ||
@@ -12,0 +12,0 @@ // Lifecycle |
@@ -42,3 +42,3 @@ import { Decoration, DecorationOptions, DisplayMarker, Disposable } from '../index'; | ||
*/ | ||
priority?: number; | ||
priority?: number | undefined; | ||
@@ -49,3 +49,3 @@ /** | ||
*/ | ||
visible?: boolean; | ||
visible?: boolean | undefined; | ||
@@ -58,6 +58,6 @@ /** | ||
*/ | ||
type?: 'decorated' | 'line-number'; | ||
type?: 'decorated' | 'line-number' | undefined; | ||
/** String added to the CSS classnames of the gutter's root DOM element. */ | ||
class?: string; | ||
class?: string | undefined; | ||
@@ -69,3 +69,3 @@ /** | ||
*/ | ||
labelFn?: (lineData: LineDataExtended) => string; | ||
labelFn?: ((lineData: LineDataExtended) => string) | undefined; | ||
@@ -77,3 +77,3 @@ /** | ||
*/ | ||
onMouseDown?: (lineData: LineData) => void; | ||
onMouseDown?: ((lineData: LineData) => void) | undefined; | ||
@@ -84,3 +84,3 @@ /** | ||
*/ | ||
onMouseMove?: (lineData: LineData) => void; | ||
onMouseMove?: ((lineData: LineData) => void) | undefined; | ||
} | ||
@@ -87,0 +87,0 @@ |
@@ -46,5 +46,5 @@ import { Disposable } from '../index'; | ||
findKeyBindings(params?: { | ||
keystrokes?: string; // e.g. 'ctrl-x ctrl-s' | ||
command?: string; // e.g. 'editor:backspace' | ||
target?: Element; | ||
keystrokes?: string | undefined; // e.g. 'ctrl-x ctrl-s' | ||
command?: string | undefined; // e.g. 'editor:backspace' | ||
target?: Element | undefined; | ||
}): KeyBinding[]; | ||
@@ -54,3 +54,3 @@ | ||
/** Load the key bindings from the given path. */ | ||
loadKeymap(bindingsPath: string, options?: { watch?: boolean; priority?: number }): void; | ||
loadKeymap(bindingsPath: string, options?: { watch?: boolean | undefined; priority?: number | undefined }): void; | ||
@@ -57,0 +57,0 @@ /** |
@@ -17,6 +17,6 @@ import { Disposable } from '../index'; | ||
/** An array of sub menus. */ | ||
submenu?: ReadonlyArray<MenuOptions>; | ||
submenu?: ReadonlyArray<MenuOptions> | undefined; | ||
/** The command to trigger when the item is clicked. */ | ||
command?: string; | ||
command?: string | undefined; | ||
} |
@@ -31,14 +31,14 @@ import { Disposable } from '../index'; | ||
buttons?: Array<{ | ||
className?: string; | ||
className?: string | undefined; | ||
onDidClick?(event: MouseEvent): void; | ||
text?: string; | ||
}>; | ||
description?: string; | ||
detail?: string; | ||
dismissable?: boolean; | ||
icon?: string; | ||
text?: string | undefined; | ||
}> | undefined; | ||
description?: string | undefined; | ||
detail?: string | undefined; | ||
dismissable?: boolean | undefined; | ||
icon?: string | undefined; | ||
} | ||
export interface ErrorNotificationOptions extends NotificationOptions { | ||
stack?: string; | ||
stack?: string | undefined; | ||
} |
@@ -95,12 +95,12 @@ // This file holds the types that don't belong to a specific file. | ||
*/ | ||
applicationDelegate?: object; | ||
applicationDelegate?: object | undefined; | ||
/** A window global. */ | ||
window?: Window; | ||
window?: Window | undefined; | ||
/** A document global. */ | ||
document?: Document; | ||
document?: Document | undefined; | ||
/** A path to the configuration directory (usually ~/.atom). */ | ||
configDirPath?: string; | ||
configDirPath?: string | undefined; | ||
@@ -111,3 +111,3 @@ /** | ||
*/ | ||
enablePersistence?: boolean; | ||
enablePersistence?: boolean | undefined; | ||
} | ||
@@ -117,3 +117,3 @@ | ||
/** When provided, skip taking snapshot for other selections markerLayers except given one. */ | ||
selectionsMarkerLayer?: MarkerLayer; | ||
selectionsMarkerLayer?: MarkerLayer | undefined; | ||
} | ||
@@ -123,3 +123,3 @@ | ||
/** Restore snapshot of selections marker layer to given selectionsMarkerLayer. */ | ||
selectionsMarkerLayer?: MarkerLayer; | ||
selectionsMarkerLayer?: MarkerLayer | undefined; | ||
} | ||
@@ -129,3 +129,3 @@ | ||
/** Whether the readonly protections on the text editor should be ignored. */ | ||
bypassReadOnly?: boolean; | ||
bypassReadOnly?: boolean | undefined; | ||
} | ||
@@ -135,3 +135,3 @@ | ||
/** If true, all line endings will be normalized to match the editor's current mode. */ | ||
normalizeLineEndings?: boolean; | ||
normalizeLineEndings?: boolean | undefined; | ||
@@ -142,3 +142,3 @@ /** | ||
*/ | ||
undo?: 'skip'; | ||
undo?: 'skip' | undefined; | ||
} | ||
@@ -148,9 +148,9 @@ | ||
/** If true, selects the newly added text. */ | ||
select?: boolean; | ||
select?: boolean | undefined; | ||
/** If true, indents all inserted text appropriately. */ | ||
autoIndent?: boolean; | ||
autoIndent?: boolean | undefined; | ||
/** If true, indent newline appropriately. */ | ||
autoIndentNewline?: boolean; | ||
autoIndentNewline?: boolean | undefined; | ||
@@ -161,3 +161,3 @@ /** | ||
*/ | ||
autoDecreaseIndent?: boolean; | ||
autoDecreaseIndent?: boolean | undefined; | ||
@@ -170,3 +170,3 @@ /** | ||
*/ | ||
preserveTrailingLineIndentation?: boolean; | ||
preserveTrailingLineIndentation?: boolean | undefined; | ||
} | ||
@@ -228,3 +228,3 @@ | ||
*/ | ||
eol?: boolean | string; | ||
eol?: boolean | string | undefined; | ||
@@ -235,3 +235,3 @@ /** | ||
*/ | ||
space?: boolean | string; | ||
space?: boolean | string | undefined; | ||
@@ -242,3 +242,3 @@ /** | ||
*/ | ||
tab?: boolean | string; | ||
tab?: boolean | string | undefined; | ||
@@ -249,3 +249,3 @@ /** | ||
*/ | ||
cr?: boolean | string; | ||
cr?: boolean | string | undefined; | ||
} | ||
@@ -252,0 +252,0 @@ |
@@ -105,3 +105,3 @@ import { Disposable } from '../index'; | ||
/** Add the given item to the pane. */ | ||
addItem(item: object, options?: { index?: number; pending?: boolean }): object; | ||
addItem(item: object, options?: { index?: number | undefined; pending?: boolean | undefined }): object; | ||
@@ -171,12 +171,12 @@ /** Add the given items to the pane. */ | ||
/** Create a new pane to the left of this pane. */ | ||
splitLeft(params?: { items?: object[]; copyActiveItem?: boolean }): Pane; | ||
splitLeft(params?: { items?: object[] | undefined; copyActiveItem?: boolean | undefined }): Pane; | ||
/** Create a new pane to the right of this pane. */ | ||
splitRight(params?: { items?: object[]; copyActiveItem?: boolean }): Pane; | ||
splitRight(params?: { items?: object[] | undefined; copyActiveItem?: boolean | undefined }): Pane; | ||
/** Creates a new pane above the receiver. */ | ||
splitUp(params?: { items?: object[]; copyActiveItem?: boolean }): Pane; | ||
splitUp(params?: { items?: object[] | undefined; copyActiveItem?: boolean | undefined }): Pane; | ||
/** Creates a new pane below the receiver. */ | ||
splitDown(params?: { items?: object[]; copyActiveItem?: boolean }): Pane; | ||
splitDown(params?: { items?: object[] | undefined; copyActiveItem?: boolean | undefined }): Pane; | ||
} | ||
@@ -183,0 +183,0 @@ |
@@ -90,3 +90,3 @@ import { | ||
originPath: string; | ||
config?: ConfigValues; | ||
config?: ConfigValues | undefined; | ||
} |
@@ -28,4 +28,4 @@ import { | ||
options?: { | ||
preserveFolds?: boolean; | ||
autoscroll?: boolean; | ||
preserveFolds?: boolean | undefined; | ||
autoscroll?: boolean | undefined; | ||
}, | ||
@@ -41,5 +41,5 @@ ): void; | ||
options?: { | ||
reversed?: boolean; | ||
preserveFolds?: boolean; | ||
autoscroll?: boolean; | ||
reversed?: boolean | undefined; | ||
preserveFolds?: boolean | undefined; | ||
autoscroll?: boolean | undefined; | ||
}, | ||
@@ -77,3 +77,3 @@ ): void; | ||
/** Clears the selection, moving the marker to the head. */ | ||
clear(options?: { autoscroll?: boolean }): void; | ||
clear(options?: { autoscroll?: boolean | undefined }): void; | ||
@@ -319,3 +319,3 @@ /** Selects the text from the current cursor position to a given screen position. */ | ||
*/ | ||
merge(otherSelection: Selection, options?: { preserveFolds?: boolean; autoscroll?: boolean }): void; | ||
merge(otherSelection: Selection, options?: { preserveFolds?: boolean | undefined; autoscroll?: boolean | undefined }): void; | ||
@@ -322,0 +322,0 @@ // Comparing to other selections |
@@ -432,3 +432,3 @@ import { | ||
bufferPosition: PointCompatible, | ||
options?: { clipDirection?: 'backward' | 'forward' | 'closest' }, | ||
options?: { clipDirection?: 'backward' | 'forward' | 'closest' | undefined }, | ||
): Point; | ||
@@ -439,3 +439,3 @@ | ||
bufferPosition: PointCompatible, | ||
options?: { clipDirection?: 'backward' | 'forward' | 'closest' }, | ||
options?: { clipDirection?: 'backward' | 'forward' | 'closest' | undefined }, | ||
): Point; | ||
@@ -461,3 +461,3 @@ | ||
screenPosition: PointCompatible, | ||
options?: { clipDirection?: 'backward' | 'forward' | 'closest' }, | ||
options?: { clipDirection?: 'backward' | 'forward' | 'closest' | undefined }, | ||
): Point; | ||
@@ -469,3 +469,3 @@ | ||
*/ | ||
clipScreenRange(range: RangeCompatible, options?: { clipDirection?: 'backward' | 'forward' | 'closest' }): Range; | ||
clipScreenRange(range: RangeCompatible, options?: { clipDirection?: 'backward' | 'forward' | 'closest' | undefined }): Range; | ||
@@ -515,5 +515,5 @@ // Decorations | ||
properties?: { | ||
maintainHistory?: boolean; | ||
reversed?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
maintainHistory?: boolean | undefined; | ||
reversed?: boolean | undefined; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
}, | ||
@@ -531,5 +531,5 @@ ): DisplayMarker; | ||
properties?: { | ||
maintainHistory?: boolean; | ||
reversed?: boolean; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
maintainHistory?: boolean | undefined; | ||
reversed?: boolean | undefined; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
}, | ||
@@ -545,3 +545,3 @@ ): DisplayMarker; | ||
options?: { | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
}, | ||
@@ -557,4 +557,4 @@ ): DisplayMarker; | ||
options?: { | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch'; | ||
clipDirection?: 'backward' | 'forward' | 'closest'; | ||
invalidate?: 'never' | 'surround' | 'overlap' | 'inside' | 'touch' | undefined; | ||
clipDirection?: 'backward' | 'forward' | 'closest' | undefined; | ||
}, | ||
@@ -574,3 +574,3 @@ ): DisplayMarker; | ||
/** Create a marker layer to group related markers. */ | ||
addMarkerLayer(options?: { maintainHistory?: boolean; persistent?: boolean }): DisplayMarkerLayer; | ||
addMarkerLayer(options?: { maintainHistory?: boolean | undefined; persistent?: boolean | undefined }): DisplayMarkerLayer; | ||
@@ -606,3 +606,3 @@ /** Get a DisplayMarkerLayer by id. */ | ||
*/ | ||
setCursorBufferPosition(position: PointCompatible, options?: { autoscroll?: boolean }): void; | ||
setCursorBufferPosition(position: PointCompatible, options?: { autoscroll?: boolean | undefined }): void; | ||
@@ -622,6 +622,6 @@ /** Get a Cursor at given screen coordinates Point. */ | ||
*/ | ||
setCursorScreenPosition(position: PointCompatible, options?: { autoscroll?: boolean }): void; | ||
setCursorScreenPosition(position: PointCompatible, options?: { autoscroll?: boolean | undefined }): void; | ||
/** Add a cursor at the given position in buffer coordinates. */ | ||
addCursorAtBufferPosition(bufferPosition: PointCompatible, options?: { autoscroll?: boolean }): Cursor; | ||
addCursorAtBufferPosition(bufferPosition: PointCompatible, options?: { autoscroll?: boolean | undefined }): Cursor; | ||
@@ -705,5 +705,5 @@ /** Add a cursor at the position in screen coordinates. */ | ||
getWordUnderCursor(options?: { | ||
wordRegex?: RegExp; | ||
includeNonWordCharacters?: boolean; | ||
allowPrevious?: boolean; | ||
wordRegex?: RegExp | undefined; | ||
includeNonWordCharacters?: boolean | undefined; | ||
allowPrevious?: boolean | undefined; | ||
}): string; | ||
@@ -739,3 +739,3 @@ | ||
bufferRange: RangeCompatible, | ||
options?: { reversed?: boolean; preserveFolds?: boolean }, | ||
options?: { reversed?: boolean | undefined; preserveFolds?: boolean | undefined }, | ||
): void; | ||
@@ -749,3 +749,3 @@ | ||
bufferRanges: ReadonlyArray<RangeCompatible>, | ||
options?: { reversed?: boolean; preserveFolds?: boolean }, | ||
options?: { reversed?: boolean | undefined; preserveFolds?: boolean | undefined }, | ||
): void; | ||
@@ -766,3 +766,3 @@ | ||
*/ | ||
setSelectedScreenRange(screenRange: RangeCompatible, options?: { reversed?: boolean }): void; | ||
setSelectedScreenRange(screenRange: RangeCompatible, options?: { reversed?: boolean | undefined }): void; | ||
@@ -773,3 +773,3 @@ /** | ||
*/ | ||
setSelectedScreenRanges(screenRanges: ReadonlyArray<RangeCompatible>, options?: { reversed?: boolean }): void; | ||
setSelectedScreenRanges(screenRanges: ReadonlyArray<RangeCompatible>, options?: { reversed?: boolean | undefined }): void; | ||
@@ -779,3 +779,3 @@ /** Add a selection for the given range in buffer coordinates. */ | ||
bufferRange: RangeCompatible, | ||
options?: { reversed?: boolean; preserveFolds?: boolean }, | ||
options?: { reversed?: boolean | undefined; preserveFolds?: boolean | undefined }, | ||
): Selection; | ||
@@ -786,3 +786,3 @@ | ||
screenRange: RangeCompatible, | ||
options?: { reversed?: boolean; preserveFolds?: boolean }, | ||
options?: { reversed?: boolean | undefined; preserveFolds?: boolean | undefined }, | ||
): Selection; | ||
@@ -1062,3 +1062,3 @@ | ||
newLevel: number, | ||
options?: { preserveLeadingWhitespace?: boolean }, | ||
options?: { preserveLeadingWhitespace?: boolean | undefined }, | ||
): void; | ||
@@ -1211,9 +1211,9 @@ | ||
/** Scroll the editor to reveal the most recently added cursor if it is off-screen. */ | ||
scrollToCursorPosition(options?: { center?: boolean }): void; | ||
scrollToCursorPosition(options?: { center?: boolean | undefined }): void; | ||
/** Scrolls the editor to the given buffer position. */ | ||
scrollToBufferPosition(bufferPosition: PointCompatible, options?: { center?: boolean }): void; | ||
scrollToBufferPosition(bufferPosition: PointCompatible, options?: { center?: boolean | undefined }): void; | ||
/** Scrolls the editor to the given screen position. */ | ||
scrollToScreenPosition(screenPosition: PointCompatible, options?: { center?: boolean }): void; | ||
scrollToScreenPosition(screenPosition: PointCompatible, options?: { center?: boolean | undefined }): void; | ||
@@ -1220,0 +1220,0 @@ // TextEditor Rendering |
@@ -21,14 +21,14 @@ import { Disposable, Tooltip } from '../index'; | ||
| { | ||
item?: object; | ||
item?: object | undefined; | ||
} | ||
| ({ | ||
title?: string | (() => string); | ||
html?: boolean; | ||
keyBindingCommand?: string; | ||
keyBindingTarget?: HTMLElement; | ||
title?: string | (() => string) | undefined; | ||
html?: boolean | undefined; | ||
keyBindingCommand?: string | undefined; | ||
keyBindingTarget?: HTMLElement | undefined; | ||
} & { | ||
class?: string; | ||
placement?: TooltipPlacement | (() => TooltipPlacement); | ||
trigger?: 'click' | 'hover' | 'focus' | 'manual'; | ||
delay?: { show: number; hide: number }; | ||
class?: string | undefined; | ||
placement?: TooltipPlacement | (() => TooltipPlacement) | undefined; | ||
trigger?: 'click' | 'hover' | 'focus' | 'manual' | undefined; | ||
delay?: { show: number; hide: number } | undefined; | ||
}), | ||
@@ -35,0 +35,0 @@ ): Disposable; |
@@ -25,6 +25,6 @@ /** | ||
/** Apply a CSS fade transition to the tooltip. */ | ||
animation?: boolean; | ||
animation?: boolean | undefined; | ||
/** Appends the tooltip to a specific element. */ | ||
container?: string | HTMLElement | false; | ||
container?: string | HTMLElement | false | undefined; | ||
@@ -35,9 +35,9 @@ /** | ||
*/ | ||
delay?: number | { show: number; hide: number }; | ||
delay?: number | { show: number; hide: number } | undefined; | ||
/** Allow HTML in the tooltip. */ | ||
html?: boolean; | ||
html?: boolean | undefined; | ||
/** How to position the tooltip. */ | ||
placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto'; | ||
placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto' | undefined; | ||
@@ -48,6 +48,6 @@ /** | ||
*/ | ||
selector?: string; | ||
selector?: string | undefined; | ||
/** Base HTML to use when creating the tooltip. */ | ||
template?: string; | ||
template?: string | undefined; | ||
@@ -59,3 +59,3 @@ /** | ||
*/ | ||
title?: string | HTMLElement | (() => string); | ||
title?: string | HTMLElement | (() => string) | undefined; | ||
@@ -66,3 +66,3 @@ /** | ||
*/ | ||
trigger?: string; | ||
trigger?: string | undefined; | ||
} |
@@ -217,3 +217,3 @@ import { | ||
/** Adds a panel item to the bottom of the editor window. */ | ||
addBottomPanel<T>(options: { item: T; visible?: boolean; priority?: number }): Panel<T>; | ||
addBottomPanel<T>(options: { item: T; visible?: boolean | undefined; priority?: number | undefined }): Panel<T>; | ||
@@ -224,3 +224,3 @@ /** Get an Array of all the panel items to the left of the editor window. */ | ||
/** Adds a panel item to the left of the editor window. */ | ||
addLeftPanel<T>(options: { item: T; visible?: boolean; priority?: number }): Panel<T>; | ||
addLeftPanel<T>(options: { item: T; visible?: boolean | undefined; priority?: number | undefined }): Panel<T>; | ||
@@ -231,3 +231,3 @@ /** Get an Array of all the panel items to the right of the editor window. */ | ||
/** Adds a panel item to the right of the editor window. */ | ||
addRightPanel<T>(options: { item: T; visible?: boolean; priority?: number }): Panel<T>; | ||
addRightPanel<T>(options: { item: T; visible?: boolean | undefined; priority?: number | undefined }): Panel<T>; | ||
@@ -238,3 +238,3 @@ /** Get an Array of all the panel items at the top of the editor window. */ | ||
/** Adds a panel item to the top of the editor window above the tabs. */ | ||
addTopPanel<T>(options: { item: T; visible?: boolean; priority?: number }): Panel<T>; | ||
addTopPanel<T>(options: { item: T; visible?: boolean | undefined; priority?: number | undefined }): Panel<T>; | ||
@@ -245,3 +245,3 @@ /** Get an Array of all the panel items in the header. */ | ||
/** Adds a panel item to the header. */ | ||
addHeaderPanel<T>(options: { item: T; visible?: boolean; priority?: number }): Panel<T>; | ||
addHeaderPanel<T>(options: { item: T; visible?: boolean | undefined; priority?: number | undefined }): Panel<T>; | ||
@@ -252,3 +252,3 @@ /** Get an Array of all the panel items in the footer. */ | ||
/** Adds a panel item to the footer. */ | ||
addFooterPanel<T>(options: { item: T; visible?: boolean; priority?: number }): Panel<T>; | ||
addFooterPanel<T>(options: { item: T; visible?: boolean | undefined; priority?: number | undefined }): Panel<T>; | ||
@@ -261,5 +261,5 @@ /** Get an Array of all the modal panel items. */ | ||
item: T; | ||
visible?: boolean; | ||
priority?: number; | ||
autoFocus?: boolean | FocusableHTMLElement; | ||
visible?: boolean | undefined; | ||
priority?: number | undefined; | ||
autoFocus?: boolean | FocusableHTMLElement | undefined; | ||
}): Panel<T>; | ||
@@ -294,6 +294,6 @@ | ||
/** A number indicating which row to move the cursor to initially. Defaults to 0. */ | ||
initialLine?: number; | ||
initialLine?: number | undefined; | ||
/** A number indicating which column to move the cursor to initially. Defaults to 0. */ | ||
initialColumn?: number; | ||
initialColumn?: number | undefined; | ||
@@ -309,3 +309,3 @@ /** | ||
*/ | ||
split?: 'left' | 'right' | 'up' | 'down'; | ||
split?: 'left' | 'right' | 'up' | 'down' | undefined; | ||
@@ -316,3 +316,3 @@ /** | ||
*/ | ||
activatePane?: boolean; | ||
activatePane?: boolean | undefined; | ||
@@ -323,3 +323,3 @@ /** | ||
*/ | ||
activateItem?: boolean; | ||
activateItem?: boolean | undefined; | ||
@@ -331,3 +331,3 @@ /** | ||
*/ | ||
pending?: boolean; | ||
pending?: boolean | undefined; | ||
@@ -339,3 +339,3 @@ /** | ||
*/ | ||
searchAllPanes?: boolean; | ||
searchAllPanes?: boolean | undefined; | ||
@@ -349,3 +349,3 @@ /** | ||
*/ | ||
location?: 'left' | 'right' | 'bottom' | 'center'; | ||
location?: 'left' | 'right' | 'bottom' | 'center' | undefined; | ||
} | ||
@@ -355,3 +355,3 @@ | ||
/** An array of glob patterns to search within. */ | ||
paths?: ReadonlyArray<string>; | ||
paths?: ReadonlyArray<string> | undefined; | ||
@@ -362,6 +362,6 @@ /** A function to be periodically called with the number of paths searched. */ | ||
/** The number of lines before the matched line to include in the results object. */ | ||
leadingContextLineCount?: number; | ||
leadingContextLineCount?: number | undefined; | ||
/** The number of lines after the matched line to include in the results object. */ | ||
trailingContextLineCount?: number; | ||
trailingContextLineCount?: number | undefined; | ||
} | ||
@@ -368,0 +368,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
291197
0