(withNotice?: boolean, unsafeWarning?: boolean, imports?: string[])
| 25 | ]; |
| 26 | |
| 27 | export const generateFileHeader = (withNotice?: boolean, unsafeWarning?: boolean, imports?: string[]) => [ |
| 28 | ...DefaultFileHeader, |
| 29 | '', |
| 30 | ...(imports ? [...imports, ''] : []), |
| 31 | '', |
| 32 | ...(withNotice ? [...generateNotice(unsafeWarning), ''] : []), |
| 33 | ] |
| 34 | |
| 35 | export class FileContext { |
| 36 | constants: string[] = []; |
no test coverage detected