(input: string)
| 1809 | } |
| 1810 | |
| 1811 | export function decodeURIIfPossible(input: string): string | undefined { |
| 1812 | try { |
| 1813 | return decodeURI(input) |
| 1814 | } catch { |
| 1815 | // url is malformed, probably a interpolate syntax of template engines |
| 1816 | return |
| 1817 | } |
| 1818 | } |
| 1819 | |
| 1820 | type SigtermCallback = (signal?: 'SIGTERM', exitCode?: number) => Promise<void> |
| 1821 |
no outgoing calls
no test coverage detected