From 08669af71f08dc63e95386c1539e7db61a96c74e Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Sun, 14 Jan 2024 21:05:54 +0200 Subject: [PATCH] chore: add .gitattributes, fix docblock --- .gitattributes | 1 + packages/utils/src/icon-set/tree.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitattributes 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; /**