(value: string, cases: Partial<Record<'always' | 'never' | 'compiler', string>>)
| 24 | export type ExtensionGroups = ExtensionGroup[]; |
| 25 | |
| 26 | export const sw = (value: string, cases: Partial<Record<'always' | 'never' | 'compiler', string>>): string => |
| 27 | cases[value as 'always' | 'never' | 'compiler'] ?? ''; |
| 28 | |
| 29 | const bufferToByteString = (buffer: Buffer): string => { |
| 30 | if (buffer.length === 0) return ''; |
no outgoing calls
no test coverage detected