UNPKG

narou

Version:
21 lines (18 loc) 626 B
import { N as NarouNovel, a as NarouParams } from './narou-DBa12V_l.js'; import './narou-search-results-DT0YdaBn.js'; import './util/type.js'; import './ranking-history.js'; type Fetch = typeof fetch; /** * なろう小説APIへのリクエストを実行する */ declare class NarouNovelFetch extends NarouNovel { private fetch?; /** * コンストラクタ * @param fetch fetch関数(デフォルトはネイティブのfetch) */ constructor(fetch?: Fetch | undefined); protected execute<T>(params: NarouParams, endpoint: string): Promise<T>; } export { NarouNovelFetch as default };