mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-31 09:57:03 +02:00
refactor: clean up TODO comments (#6399)
This commit is contained in:
parent
1d7827d572
commit
6c0da3ee4b
10 changed files with 21 additions and 27 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue