Skip to content

Commit c741e0a

Browse files
authored
fix: correct the typing for config on post (#873)
1 parent 97e000d commit c741e0a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/kitsu/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ export default class Kitsu {
318318
* @param {Object} [config] Additional configuration
319319
* @param {Object} [config.params] JSON:API request queries. See [#get](#get) for documentation
320320
* @param {Object} [config.headers] Additional headers to send with the request
321+
* @param {Object} [config.axiosOptions] Additional options for the axios instance (see [axios/axios#request-config](https://github.com/axios/axios#request-config) for details)
321322
* @returns {Object|Object[]} JSON-parsed response
322323
* @example <caption>Create a post on a user's profile feed</caption>
323324
* api.create('posts', {

0 commit comments

Comments
 (0)