(item: ls.Command)
| 468 | } |
| 469 | |
| 470 | function asCommand(item: ls.Command): code.Command { |
| 471 | let result: code.Command = { title: item.title, command: item.command }; |
| 472 | if (item.arguments) { result.arguments = item.arguments; } |
| 473 | return result; |
| 474 | } |
| 475 | |
| 476 | function asCommands(items: ls.Command[]): code.Command[]; |
| 477 | function asCommands(items: undefined | null): undefined |
no outgoing calls
no test coverage detected