diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..94f480d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/packages/utils/src/icon-set/tree.ts b/packages/utils/src/icon-set/tree.ts index 82d6fef..991f970 100644 --- a/packages/utils/src/icon-set/tree.ts +++ b/packages/utils/src/icon-set/tree.ts @@ -1,9 +1,9 @@ import type { IconifyAliases, IconifyJSON } from '@iconify/types'; -// Parent icons, first is direct parent, last is icon. Does not include self +// Parent icons, first is direct parent, then parent of parent and so on. Does not include self export type ParentIconsList = string[]; -// Result +// Result. Key is icon, value is list of parent icons export type ParentIconsTree = Record; /**