(source: string, options: any)
| 210 | } |
| 211 | |
| 212 | export function genCacheKey(source: string, options: any): string { |
| 213 | return ( |
| 214 | source + |
| 215 | JSON.stringify(options, (_, val) => |
| 216 | typeof val === 'function' ? val.toString() : val, |
| 217 | ) |
| 218 | ) |
| 219 | } |
no test coverage detected