Skip to content

Commit 54a08e4

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 81f71b1 commit 54a08e4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

types/dist/nova.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @typedef {import('vue').Component} VueComponent
55
* @typedef {import('vue').DefineComponent} DefineComponent
66
* @typedef {import('axios').AxiosInstance} AxiosInstance
7+
* @typedef {import('axios').AxiosRequestConfig} AxiosRequestConfig
78
* @typedef {Object<string, any>} AppConfig
89
* @typedef {import('./util/FormValidation').Form} Form
910
* @typedef {(app: VueApp, store: VueStore<any>) => void} BootingCallback
@@ -95,10 +96,10 @@ export default class Nova {
9596
* Return an axios instance configured to make requests to Nova's API
9697
* and handle certain response codes.
9798
*
98-
* @param {any} options
99+
* @param {AxiosRequestConfig|null} [options=null]
99100
* @returns {AxiosInstance}
100101
*/
101-
request(options: any): AxiosInstance;
102+
request(options?: AxiosRequestConfig | null): AxiosInstance;
102103
/**
103104
* Get the URL from base Nova prefix.
104105
*
@@ -260,6 +261,7 @@ export type VueApp = import("vue").App;
260261
export type VueComponent = import("vue").Component;
261262
export type DefineComponent = import("vue").DefineComponent;
262263
export type AxiosInstance = import("axios").AxiosInstance;
264+
export type AxiosRequestConfig = import("axios").AxiosRequestConfig;
263265
export type AppConfig = {
264266
[x: string]: any;
265267
};

types/dist/nova.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)