mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-23 11:38:48 +02:00
refactor: fix more type-aware linting errors (#7479)
This commit is contained in:
parent
bf1513a3e3
commit
624735bd92
51 changed files with 192 additions and 189 deletions
|
@ -89,7 +89,7 @@ export function getVersionsFilePath(siteDir: string, pluginId: string): string {
|
|||
* @throws Throws if validation fails, i.e. `versions.json` doesn't contain an
|
||||
* array of valid version names.
|
||||
*/
|
||||
async function readVersionsFile(
|
||||
export async function readVersionsFile(
|
||||
siteDir: string,
|
||||
pluginId: string,
|
||||
): Promise<string[] | null> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue