Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议补充函数注释 #4

Closed
charmingzuo opened this issue Jun 12, 2020 · 1 comment
Closed

建议补充函数注释 #4

charmingzuo opened this issue Jun 12, 2020 · 1 comment
Assignees

Comments

@charmingzuo
Copy link

charmingzuo commented Jun 12, 2020

const Interceptor = (axios, {

建议:

/**
 * 向axios实例中注入拦截器
 * @param {AxiosStatic} axios
 * @param {string} mchid
 * @param {string} serial
 * @param {string} privateKey
 * @param {string} publicCert
 * @param {Object} certs
 * @returns {AxiosStatic}
 * @constructor
 */
const Interceptor = (axios, {...} = {}) => 
@TheNorthMemory TheNorthMemory self-assigned this Jun 12, 2020
TheNorthMemory added a commit that referenced this issue Jun 13, 2020
@TheNorthMemory
Copy link
Owner

已添加,基本用法可能还得在 REAME.md 里继续说明。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants