refactor: use docusaurus sidebar types #1323
build-perf.yml
on: pull_request
Build Size Report
1m 12s
Build Time Perf
1m 15s
Annotations
20 errors
Build Size Report
Property 'length' does not exist on type 'SchemaObject'.
|
Build Size Report
'param.schema' is possibly 'undefined'.
|
Build Size Report
'param.schema' is possibly 'undefined'.
|
Build Size Report
'param.schema' is possibly 'undefined'.
|
Build Size Report
Type '(e: React.ChangeEvent<HTMLInputElement>) => void' is not assignable to type 'ChangeEventHandler<HTMLSelectElement>'.
|
Build Size Report
Type '(e: React.ChangeEvent<HTMLInputElement>) => { payload: string; type: "contentType/setContentType"; }' is not assignable to type 'ChangeEventHandler<HTMLSelectElement>'.
|
Build Size Report
Module '"@theme/ApiExplorer/CodeSnippets"' has no exported member 'Language'. Did you mean to use 'import Language from "@theme/ApiExplorer/CodeSnippets"' instead?
|
Build Size Report
Type 'string | (() => string)' is not assignable to type 'ReactNode'.
|
Build Size Report
Property 'includeVariant' is missing in type '{ children: Element[]; className: string; action: { setLanguage: Dispatch<SetStateAction<Language>>; setSelectedSample: Dispatch<SetStateAction<string | undefined>>; }; ... 4 more ...; lazy: true; }' but required in type 'CodeTabsProps'.
|
Build Size Report
Type '{ children: Element[]; groupId: string; action: { setLanguage: Dispatch<SetStateAction<Language>>; setSelectedVariant: Dispatch<SetStateAction<string | undefined>>; setSelectedSample: Dispatch<...>; }; languageSet: Language[]; defaultValue: string; lazy: true; }' is missing the following properties from type 'CodeTabsProps': currentLanguage, includeVariant
|
Build Time Perf
Property 'length' does not exist on type 'SchemaObject'.
|
Build Time Perf
'param.schema' is possibly 'undefined'.
|
Build Time Perf
'param.schema' is possibly 'undefined'.
|
Build Time Perf
'param.schema' is possibly 'undefined'.
|
Build Time Perf
Type '(e: React.ChangeEvent<HTMLInputElement>) => void' is not assignable to type 'ChangeEventHandler<HTMLSelectElement>'.
|
Build Time Perf
Type '(e: React.ChangeEvent<HTMLInputElement>) => { payload: string; type: "contentType/setContentType"; }' is not assignable to type 'ChangeEventHandler<HTMLSelectElement>'.
|
Build Time Perf
Module '"@theme/ApiExplorer/CodeSnippets"' has no exported member 'Language'. Did you mean to use 'import Language from "@theme/ApiExplorer/CodeSnippets"' instead?
|
Build Time Perf
Type 'string | (() => string)' is not assignable to type 'ReactNode'.
|
Build Time Perf
Property 'includeVariant' is missing in type '{ children: Element[]; className: string; action: { setLanguage: Dispatch<SetStateAction<Language>>; setSelectedSample: Dispatch<SetStateAction<string | undefined>>; }; ... 4 more ...; lazy: true; }' but required in type 'CodeTabsProps'.
|
Build Time Perf
Type '{ children: Element[]; groupId: string; action: { setLanguage: Dispatch<SetStateAction<Language>>; setSelectedVariant: Dispatch<SetStateAction<string | undefined>>; setSelectedSample: Dispatch<...>; }; languageSet: Language[]; defaultValue: string; lazy: true; }' is missing the following properties from type 'CodeTabsProps': currentLanguage, includeVariant
|