refactor: clean up TODO comments (#6399)

This commit is contained in:
Joshua Chen 2022-01-19 12:10:50 +08:00 committed by GitHub
parent 1d7827d572
commit 6c0da3ee4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 27 deletions

View file

@ -5,11 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
import type {
DocusaurusContext,
Plugin,
PostCssOptions,
} from '@docusaurus/types';
import type {LoadContext, Plugin, PostCssOptions} from '@docusaurus/types';
import type {ThemeConfig} from '@docusaurus/theme-common';
import {getTranslationFiles, translateThemeConfig} from './translations';
import path from 'path';
@ -95,7 +91,7 @@ function getInfimaCSSFile(direction: string) {
}
export default function docusaurusThemeClassic(
context: DocusaurusContext, // TODO: LoadContext is missing some of properties
context: LoadContext,
options: Options,
): Plugin<void> {
const {