Change return type

This commit is contained in:
Christopher Schleiden
2023-01-04 11:23:57 -08:00
parent 56e8393e0f
commit b3d18f0dfd
@@ -7,7 +7,7 @@ import {parseActionReference} from "./action";
import {nullTrace} from "./nulltrace";
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 = {
name: document.uri,
content: document.getText()