Change return type
This commit is contained in:
@@ -7,7 +7,7 @@ import {parseActionReference} from "./action";
|
|||||||
import {nullTrace} from "./nulltrace";
|
import {nullTrace} from "./nulltrace";
|
||||||
import {mapRange} from "./utils/range";
|
import {mapRange} from "./utils/range";
|
||||||
|
|
||||||
export async function documentLinks(document: TextDocument): Promise<DocumentLink[] | null> {
|
export async function documentLinks(document: TextDocument): Promise<DocumentLink[]> {
|
||||||
const file: File = {
|
const file: File = {
|
||||||
name: document.uri,
|
name: document.uri,
|
||||||
content: document.getText()
|
content: document.getText()
|
||||||
|
|||||||
Reference in New Issue
Block a user