(input: string)
| 22 | } |
| 23 | |
| 24 | export function escapeRegExp(input: string): string { |
| 25 | return input.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string |
| 26 | } |
| 27 | |
| 28 | export class PromiseCompleter<T> { |
| 29 | public promise: Promise<T>; |
no outgoing calls
no test coverage detected