mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-02-05 14:13:31 +08:00
Fixed axios imports inside docstrings to resolve vscode type errors (#2699)
This commit is contained in:
parent
6f449a1f0b
commit
15436e2aa1
@ -5,9 +5,9 @@ import { MissingParamError, request } from "../common/utils.js";
|
||||
/**
|
||||
* Repo data fetcher.
|
||||
*
|
||||
* @param {import('Axios').AxiosRequestHeaders} variables Fetcher variables.
|
||||
* @param {import('axios').AxiosRequestHeaders} variables Fetcher variables.
|
||||
* @param {string} token GitHub token.
|
||||
* @returns {Promise<import('Axios').AxiosResponse>} The response.
|
||||
* @returns {Promise<import('axios').AxiosResponse>} The response.
|
||||
*/
|
||||
const fetcher = (variables, token) => {
|
||||
return request(
|
||||
|
@ -11,7 +11,7 @@ import {
|
||||
/**
|
||||
* Top languages fetcher object.
|
||||
*
|
||||
* @param {import('Axios').AxiosRequestHeaders} variables Fetcher variables.
|
||||
* @param {import('axios').AxiosRequestHeaders} variables Fetcher variables.
|
||||
* @param {string} token GitHub token.
|
||||
* @returns {Promise<import('../common/types').StatsFetcherResponse>} Languages fetcher response.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user