Fix return type typing

This commit is contained in:
Matt Bierner
2022-02-22 16:10:34 -08:00
parent 6db11fbf33
commit 932976b8d2

View File

@@ -324,7 +324,7 @@ class RequestRouter {
constructor(
private readonly servers: ReadonlyArray<{
readonly server: ITypeScriptServer;
canRun?(command: keyof TypeScriptRequests, executeInfo: ExecuteInfo): void;
canRun?(command: keyof TypeScriptRequests, executeInfo: ExecuteInfo): boolean;
}>,
private readonly delegate: TsServerDelegate,
) { }