Skip to content

Commit

Permalink
docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe committed Jan 7, 2019
1 parent 7cb101c commit c7a7afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/transports/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Transport {

/**
* Set refreshToken function
* @param {Function<Promise>}func Promise function that refresh token
* @param {Function}func Promise function that refresh token
*/
set refreshToken(func) {
invariant(_.isFunction(func) || _.isUndefined(func), 'func should be function or undefined');
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Lock {

/**
* Run promise with lock. Parallel promises will be postponed until previous is fulfilled.
* @param {Function<Promise>}then Promise function to be call
* @param {Function}then Promise function to be call
* @return {Promise} resolves/rejects argument given "then"
*/
withLock(then) {
Expand Down

0 comments on commit c7a7afe

Please sign in to comment.