refactor(v2): fix and improve typing (#1842)

This commit is contained in:
Endi 2019-10-15 20:30:10 +07:00 committed by GitHub
parent c630e1aab9
commit 46e8e03be0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 42 deletions

View file

@ -48,14 +48,9 @@ interface LoadContext {
siteDir: string;
generatedFilesDir: string;
siteConfig: DocusaurusConfig;
cliOptions: CLIOptions;
outDir: string;
baseUrl: string;
}
interface CLIOptions {
[option: string]: any;
}
```
#### `options`