(item: CodeAction | Command)
| 56 | } |
| 57 | |
| 58 | function isCommand(item: CodeAction | Command): item is Command { |
| 59 | return ( |
| 60 | "command" in item && typeof item.command === "string" && !("edit" in item) |
| 61 | ); |
| 62 | } |
| 63 | |
| 64 | function lspPositionToOffset( |
| 65 | doc: { line: (n: number) => { from: number } }, |
no outgoing calls
no test coverage detected