mirror of
https://github.com/fluencelabs/aqua-vscode
synced 2025-07-31 06:02:04 +00:00
Add null to return type (#79)
This commit is contained in:
@@ -117,7 +117,7 @@ documents.onDidOpen(async (change) => {
|
|||||||
await validateDocument(change.document);
|
await validateDocument(change.document);
|
||||||
});
|
});
|
||||||
|
|
||||||
connection.onHover(({ textDocument, position }: HoverParams): Hover => {
|
connection.onHover(({ textDocument, position }: HoverParams): Hover | null => {
|
||||||
connection.console.log('onHover event');
|
connection.console.log('onHover event');
|
||||||
|
|
||||||
const info = documentInfos.infoAt(textDocument.uri, position);
|
const info = documentInfos.infoAt(textDocument.uri, position);
|
||||||
|
Reference in New Issue
Block a user