소스 검색

ref: commenst

Sv443 1 년 전
부모
커밋
d9f977c67a
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lib/misc.ts
  2. 1 0
      lib/onSelector.ts

+ 1 - 0
lib/misc.ts

@@ -1,3 +1,4 @@
+/** Options for the `fetchAdvanced()` function */
 export type FetchAdvancedOpts = RequestInit & Partial<{
   /** Timeout in milliseconds after which the fetch call will be canceled with an AbortController signal */
   timeout: number;

+ 1 - 0
lib/onSelector.ts

@@ -1,3 +1,4 @@
+/** Options for the `onSelector()` function */
 export type OnSelectorOpts<TElem extends Element = HTMLElement> = SelectorOptsOne<TElem> | SelectorOptsAll<TElem>;
 
 type SelectorOptsOne<TElem extends Element> = SelectorOptsBase & {