https://github.com/sourcegraph/javascript-typescript-langserver/blob/d02f2340b22000cfdcdace7c32d1dad71a439063/src/typescript-service.ts#L612 This should be a non-greedy `+`, as in `\(.+?\)`. Consider the string ``` (local function) act(handle: () => void): void ``` Right now this is incorrectly chopped to ``` => void): void ``` instead of the correct ``` act(handle: () => void): void ``` HTH
javascript-typescript-langserver/src/typescript-service.ts
Line 612 in d02f234
This should be a non-greedy
+, as in\(.+?\).Consider the string
Right now this is incorrectly chopped to
instead of the correct
HTH