Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 6426552

Browse files
committed
feat(extends): added has in classes
1 parent dea9767 commit 6426552

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/_internal/utils/extends.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import htmltags from './htmltags';
2-
import languageCodes from './languageCodes';
1+
import htmltags from './html-tags';
2+
import languageCodes from './language-codes';
33
import { toPascalCase } from './helper';
44

55
const pascalCaseLanguageCodes = languageCodes.map((code) => toPascalCase(code));
@@ -12,6 +12,7 @@ const classes = [
1212
...Array.from(pascalCaseLanguageCodes, (code) => `lang${code}`),
1313
'empty',
1414
...Array.from(htmltags, (tag) => `not${tag}`),
15+
...Array.from(htmltags, (tag) => `has${tag}`),
1516
'firstChild',
1617
'lastChild',
1718
'firstOfType',

0 commit comments

Comments
 (0)