File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,10 @@ function getEntryPointsForLegacyPackages(
445
445
results . push ( {
446
446
displayName : typedocPackageConfig ?. displayName ?? packageName ,
447
447
version : includeVersion
448
- ? ( packageJson [ "version" ] as string | undefined )
448
+ ? ( packageJson [ "version" ] as string | undefined ) ?. replace (
449
+ / ^ v / ,
450
+ ""
451
+ )
449
452
: void 0 ,
450
453
readmeFile : discoverReadmeFile (
451
454
logger ,
Original file line number Diff line number Diff line change @@ -438,6 +438,8 @@ export class Options {
438
438
/**
439
439
* Binds an option to the given property. Does not register the option.
440
440
*
441
+ * Note: This is a legacy experimental decorator, and will not work with TS 5.0 decorators
442
+ *
441
443
* @since v0.16.3
442
444
*/
443
445
export function BindOption < K extends keyof TypeDocOptionMap > (
@@ -451,6 +453,9 @@ export function BindOption<K extends keyof TypeDocOptionMap>(
451
453
452
454
/**
453
455
* Binds an option to the given property. Does not register the option.
456
+ *
457
+ * Note: This is a legacy experimental decorator, and will not work with TS 5.0 decorators
458
+ *
454
459
* @since v0.16.3
455
460
*
456
461
* @privateRemarks
You can’t perform that action at this time.
0 commit comments