File tree 2 files changed +2
-25
lines changed
2 files changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ title: Changelog
18
18
- Fixed an issue with ` @class ` incorrectly handling mapped types, #2842 .
19
19
- TypeDoc will now consider symbols to be external only if all of their declarations are external
20
20
so that declaration merged members with global symbols can be documented, #2844 .
21
+ - Fixed an issue where TypeDoc would constantly rebuild, #2844 .
21
22
22
23
### Thanks!
23
24
Original file line number Diff line number Diff line change @@ -530,7 +530,7 @@ export class Application extends AbstractComponent<
530
530
531
531
const host = ts . createWatchCompilerHost (
532
532
tsconfigFile ,
533
- { } ,
533
+ this . options . fixCompilerOptions ( { } ) ,
534
534
ts . sys ,
535
535
ts . createEmitAndSemanticDiagnosticsBuilderProgram ,
536
536
( diagnostic ) => this . logger . diagnostic ( diagnostic ) ,
@@ -643,30 +643,6 @@ export class Application extends AbstractComponent<
643
643
}
644
644
} ;
645
645
646
- const origCreateProgram = host . createProgram ;
647
- host . createProgram = (
648
- rootNames ,
649
- options ,
650
- host ,
651
- oldProgram ,
652
- configDiagnostics ,
653
- references ,
654
- ) => {
655
- // If we always do this, we'll get a crash the second time a program is created.
656
- if ( rootNames !== undefined ) {
657
- options = this . options . fixCompilerOptions ( options || { } ) ;
658
- }
659
-
660
- return origCreateProgram (
661
- rootNames ,
662
- options ,
663
- host ,
664
- oldProgram ,
665
- configDiagnostics ,
666
- references ,
667
- ) ;
668
- } ;
669
-
670
646
const origAfterProgramCreate = host . afterProgramCreate ;
671
647
host . afterProgramCreate = ( program ) => {
672
648
if (
You can’t perform that action at this time.
0 commit comments