(key: string)
| 137 | /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/ |
| 138 | |
| 139 | export function getEscapedPropName(key: string): string { |
| 140 | return propNameEscapeSymbolsRE.test(key) ? JSON.stringify(key) : key |
| 141 | } |
| 142 | |
| 143 | export const isJS = (...langs: (string | null | undefined)[]): boolean => |
| 144 | langs.some(lang => lang === 'js' || lang === 'jsx') |
no test coverage detected