mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 16:38:23 +00:00
Fixed axios imports inside docstrings to resolve vscode type errors (#2699)
This commit is contained in:
parent
6f449a1f0b
commit
15436e2aa1
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue