Skip to content

Commit 3e74cc0

Browse files
committed
Add ignoreing function comment
1 parent 40bb274 commit 3e74cc0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ async function fetchItems(path: string): Promise<Array<Item>> {
7676
}))
7777
}
7878

79+
/**
80+
* 複数の無視条件から対象が該当するか検査する
81+
* 複数の条件の中1件でも当てはまる場合は無視の対象とする
82+
* @param ignoreItems 複数の無視条件
83+
* @param target 判定対象
84+
* @param shouldIgnoreFilter 無視判定を実施する関数
85+
*/
7986
function shouldIgnore<T, S>(
8087
ignoreItems: Array<T>,
8188
target: S,

0 commit comments

Comments
 (0)