File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -415,8 +415,7 @@ const convertDocsToMDX = async (
415
415
doc . example = correctRelativeLinksToExampleAssets (
416
416
doc . example ,
417
417
) as string [ ] ;
418
- // @ts -ignore
419
- doc . deprecated = doc . deprecated ? ( doc . deprecationMessage ?? true ) : undefined ;
418
+ doc . deprecated = ( doc . deprecated ? ( doc . deprecationMessage ?? true ) : undefined ) as any ;
420
419
const mdx = await convertToMDX ( doc ) ;
421
420
422
421
return mdx ? { mdx, savePath, name : doc . name } : null ;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ interface Chainable {
94
94
95
95
interface Deprecatable {
96
96
deprecated ?: boolean ; // If this item is deprecated, a description of why.
97
- deprecatedMessage ?: string ; // If this item is deprecated, a description of why.
97
+ deprecationMessage ?: string ; // If this item is deprecated, a description of why.
98
98
}
99
99
100
100
/* Represents the return value of a method or constructor */
You can’t perform that action at this time.
0 commit comments