UNPKG

narou

Version:
21 lines (18 loc) 630 B
import { N as NarouNovel, a as NarouParams } from './narou-DCp4aGfA.cjs'; import './narou-search-results-C21hWrnL.cjs'; import './util/type.cjs'; import './ranking-history.cjs'; 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 };