mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(compiler-cli): Export more things needed by external TCB generation
There are more things needed by external TCB generation tools
This commit is contained in:
committed by
Andrew Scott
parent
71b8159b37
commit
6bd2e7f703
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
|
||||
// TCB generation exports for ng-hybrid-preprocessor
|
||||
export {generateTypeCheckBlock} from '../src/ngtsc/typecheck/src/type_check_block';
|
||||
export type {
|
||||
TypeCheckingConfig,
|
||||
TcbComponentMetadata,
|
||||
TcbTypeCheckBlockMetadata,
|
||||
TcbTypeParameter,
|
||||
TypeCheckId,
|
||||
TcbDirectiveMetadata,
|
||||
TemplateDiagnostic,
|
||||
TcbReferenceMetadata,
|
||||
SourceMapping,
|
||||
} from '../src/ngtsc/typecheck/api';
|
||||
export {DomSchemaChecker, RegistryDomSchemaChecker} from '../src/ngtsc/typecheck/src/dom';
|
||||
export {Environment} from '../src/ngtsc/typecheck/src/environment';
|
||||
export type {OutOfBandDiagnosticRecorder} from '../src/ngtsc/typecheck/src/oob';
|
||||
export {TcbGenericContextBehavior} from '../src/ngtsc/typecheck/src/ops/context';
|
||||
export {ImportManager} from '../src/ngtsc/translator';
|
||||
export type {ReferenceEmitter} from '../src/ngtsc/imports';
|
||||
export type {ReflectionHost, ClassDeclaration} from '../src/ngtsc/reflection';
|
||||
export {ClassPropertyMapping} from '../src/ngtsc/metadata/src/property_mapping';
|
||||
export type {TypeCheckSourceResolver} from '../src/ngtsc/typecheck/src/tcb_util';
|
||||
@@ -43,25 +43,3 @@ export const constructorParametersDownlevelTransform = (
|
||||
): ts.TransformerFactory<ts.SourceFile> => {
|
||||
return angularJitApplicationTransform(program, isCore);
|
||||
};
|
||||
|
||||
// TCB generation exports for ng-hybrid-preprocessor
|
||||
export {generateTypeCheckBlock} from '../src/ngtsc/typecheck/src/type_check_block';
|
||||
export type {
|
||||
TypeCheckingConfig,
|
||||
TcbComponentMetadata,
|
||||
TcbTypeCheckBlockMetadata,
|
||||
TcbTypeParameter,
|
||||
TypeCheckId,
|
||||
TcbDirectiveMetadata,
|
||||
TcbPipeMetadata,
|
||||
TemplateDiagnostic,
|
||||
TcbReferenceMetadata,
|
||||
} from '../src/ngtsc/typecheck/api';
|
||||
export type {DomSchemaChecker} from '../src/ngtsc/typecheck/src/dom';
|
||||
export {Environment} from '../src/ngtsc/typecheck/src/environment';
|
||||
export type {OutOfBandDiagnosticRecorder} from '../src/ngtsc/typecheck/src/oob';
|
||||
export {TcbGenericContextBehavior} from '../src/ngtsc/typecheck/src/ops/context';
|
||||
export {ImportManager} from '../src/ngtsc/translator';
|
||||
export type {ReferenceEmitter} from '../src/ngtsc/imports';
|
||||
export type {ReflectionHost, ClassDeclaration} from '../src/ngtsc/reflection';
|
||||
export {ClassPropertyMapping} from '../src/ngtsc/metadata/src/property_mapping';
|
||||
|
||||
Reference in New Issue
Block a user