This commit is contained in:
Alexandru Dima 2021-01-28 22:44:47 +01:00
parent c9255aa6eb
commit 1be8b30e74
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
2 changed files with 21 additions and 9 deletions

10
monaco.d.ts vendored
View file

@ -19,7 +19,9 @@ declare namespace monaco.languages.typescript {
None = 0,
Preserve = 1,
React = 2,
ReactNative = 3
ReactNative = 3,
ReactJSX = 4,
ReactJSXDev = 5
}
export enum NewLineKind {
CarriageReturnLineFeed = 0,
@ -303,7 +305,11 @@ declare namespace monaco.languages.typescript {
* Get signature help items for the item at the given file and position.
* @returns `Promise<typescript.SignatureHelpItems | undefined>`
*/
getSignatureHelpItems(fileName: string, position: number): Promise<any | undefined>;
getSignatureHelpItems(
fileName: string,
position: number,
options: any
): Promise<any | undefined>;
/**
* Get quick info for the item at the given position in the file.
* @returns `Promise<typescript.QuickInfo | undefined>`