(params: string)
| 147 | } |
| 148 | |
| 149 | export function parseConfigParam(params: string) { |
| 150 | const value = params.trim() |
| 151 | const match = /^(['"])(.+)\1$/.exec(value) |
| 152 | return match?.[2] |
| 153 | } |
| 154 | |
| 155 | function isLegacyContentObject(value: unknown): value is LegacyContentObject { |
| 156 | return typeof value === 'object' && value !== null && 'files' in value |
no outgoing calls
no test coverage detected