Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sserrata committed Jul 2, 2024
1 parent ac379a5 commit 7259bdb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/docusaurus-theme-openapi-docs/src/theme-openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ declare module "docusaurus-theme-openapi-docs" {
}

declare module "@theme/ApiItem/hooks" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { useTypedDispatch, useTypedSelector };
}

Expand All @@ -56,6 +57,7 @@ declare module "@theme/ApiItem/Layout" {
}

declare module "@theme/ApiItem/store" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { AppDispatch, RootState };
}

Expand All @@ -80,6 +82,7 @@ declare module "@theme/ApiExplorer/Authorization" {
}

declare module "@theme/ApiExplorer/Authorization/slice" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { AuthState, Scheme, setAuthData, setSelectedAuth, createAuth };
export default auth as Reducer<State, AnyAction>;
}
Expand Down Expand Up @@ -117,6 +120,7 @@ declare module "@theme/ApiExplorer/ContentType" {
}

declare module "@theme/ApiExplorer/ContentType/slice" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { setContentType };
export default contentType as Reducer<State, AnyAction>;
}
Expand Down Expand Up @@ -227,12 +231,14 @@ declare module "@theme/ApiExplorer/ParamOptions/ParamFormItems/ParamTextFormItem
}

declare module "@theme/ApiExplorer/ParamOptions/slice" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export type { Param };
export const setParam;
export default params as Reducer<State, AnyAction>;
}

declare module "@theme/ApiExplorer/persistanceMiddleware" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { createPersistanceMiddleware };
}

Expand All @@ -256,6 +262,7 @@ declare module "@theme/ApiExplorer/Response" {
}

declare module "@theme/ApiExplorer/Response/slice" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { setResponse, setCode, setHeaders, clearCode, clearHeaders };
export default response as Reducer<State, AnyAction>;
}
Expand All @@ -277,5 +284,6 @@ declare module "@theme/ApiExplorer/Server/slice" {
}

declare module "@theme/ApiExplorer/storage-utils" {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { createStorage, hashArray };
}

0 comments on commit 7259bdb

Please sign in to comment.