File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -402,7 +402,7 @@ export class Extractor {
402402
403403 this . _generateTypingsFile ( dtsRollupGenerator ,
404404 path . resolve ( context . packageFolder , dtsRollup . publishFolderForBeta ! , mainDtsRollupPath ) ,
405- DtsRollupKind . PreviewRelease ) ;
405+ DtsRollupKind . BetaRelease ) ;
406406
407407 this . _generateTypingsFile ( dtsRollupGenerator ,
408408 path . resolve ( context . packageFolder , dtsRollup . publishFolderForInternal ! , mainDtsRollupPath ) ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { SymbolAnalyzer } from './SymbolAnalyzer';
2525 */
2626export enum DtsRollupKind {
2727 /**
28- * Generate a *.d.ts file for an internal release.
28+ * Generate a *.d.ts file for an internal release, or for the trimming=false mode .
2929 * This output file will contain all definitions that are reachable from the entry point.
3030 */
3131 InternalRelease ,
@@ -35,7 +35,7 @@ export enum DtsRollupKind {
3535 * This output file will contain all definitions that are reachable from the entry point,
3636 * except definitions marked as \@alpha or \@internal.
3737 */
38- PreviewRelease ,
38+ BetaRelease ,
3939
4040 /**
4141 * Generate a *.d.ts file for a public release.
@@ -420,7 +420,7 @@ export class DtsRollupGenerator {
420420 switch ( dtsKind ) {
421421 case DtsRollupKind . InternalRelease :
422422 return true ;
423- case DtsRollupKind . PreviewRelease :
423+ case DtsRollupKind . BetaRelease :
424424 // NOTE: If the release tag is "None", then we don't have enough information to trim it
425425 return releaseTag === ReleaseTag . Beta || releaseTag === ReleaseTag . Public || releaseTag === ReleaseTag . None ;
426426 case DtsRollupKind . PublicRelease :
You can’t perform that action at this time.
0 commit comments