Skip to content

Commit fe19736

Browse files
authored
Merge pull request #918 from nextcloud-libraries/chore/deprecate-token
chore: deprecate `Axios.CancelToken`
2 parents 9d653a5 + ac24734 commit fe19736

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ import { getRequestToken, onRequestTokenUpdate } from '@nextcloud/auth'
99
import Axios from 'axios'
1010

1111
export interface CancelableAxiosInstance extends AxiosInstance {
12+
/**
13+
* @deprecated - use the AbortController API instead
14+
*/
1215
CancelToken: CancelTokenStatic
1316
isCancel: typeof Axios.isCancel
1417
}

0 commit comments

Comments
 (0)