[chore] Add js lint step (#35)
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/35 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
@@ -53,7 +53,7 @@ const authorizationHeaderFromState = getState => {
|
||||
|
||||
/**
|
||||
* @param {() => import('immutable').Map<string,any>} getState
|
||||
* @returns string
|
||||
* @returns {string}
|
||||
*/
|
||||
const baseUrlFromState = getState => {
|
||||
const baseUrl = getState && getState().getIn(['meta', 'base_url'], '');
|
||||
@@ -61,7 +61,7 @@ const baseUrlFromState = getState => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {() => import('immutable').Map} getState
|
||||
* @param {() => import('immutable').Map<string,any>} getState
|
||||
* @returns {import('axios').AxiosInstance}
|
||||
*/
|
||||
export default function api(getState) {
|
||||
|
||||
Reference in New Issue
Block a user