(firstSelector: readonly string[] | string, ...otherSelectors: readonly string[])
| 8 | export function not(selectors: readonly string[]): string; |
| 9 | export function not(firstSelector: string, ...otherSelectors: readonly string[]): string; |
| 10 | export function not(firstSelector: readonly string[] | string, ...otherSelectors: readonly string[]): string { |
| 11 | const selectors = Array.isArray(firstSelector) ? firstSelector : [firstSelector, ...otherSelectors]; |
| 12 | return `:not(${selectors.join(', ')})`; |
| 13 | } |
no outgoing calls
no test coverage detected