mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-23 14:06:59 +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
|
@ -78,7 +78,7 @@ async function askForPackageManagerChoice(): Promise<PackageManager> {
|
|||
logger.info`Falling back to name=${defaultPackageManager}`;
|
||||
},
|
||||
},
|
||||
)) as {packageManager: PackageManager}
|
||||
)) as {packageManager?: PackageManager}
|
||||
).packageManager ?? defaultPackageManager
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue