@@ -33,15 +33,55 @@ export {NgTscPlugin, PluginCompilerHost} from './src/ngtsc/tsc_plugin';
3333export { NgtscProgram } from './src/ngtsc/program' ;
3434export { OptimizeFor } from './src/ngtsc/typecheck/api' ;
3535
36+ // Explicit exports for language service
37+ export { getAngularDecorators } from './src/ngtsc/annotations' ;
38+ export {
39+ NgCompiler ,
40+ type NgCompilerOptions ,
41+ type CompilationTicket ,
42+ freshCompilationTicket ,
43+ incrementalFromCompilerTicket ,
44+ resourceChangeTicket ,
45+ } from './src/ngtsc/core' ;
46+ export { type NgCompilerAdapter } from './src/ngtsc/core/api' ;
47+ export { Reference } from './src/ngtsc/imports' ;
48+ export {
49+ type DirectiveMeta ,
50+ type InputMapping ,
51+ isExternalResource ,
52+ MetaKind ,
53+ type PipeMeta ,
54+ type Resource ,
55+ } from './src/ngtsc/metadata' ;
56+ export {
57+ type DeclarationNode ,
58+ isNamedClassDeclaration ,
59+ type ReflectionHost ,
60+ type ClassDeclaration ,
61+ } from './src/ngtsc/reflection' ;
62+ export { isFatalDiagnosticError } from './src/ngtsc/diagnostics' ;
63+ export { PerfPhase } from './src/ngtsc/perf' ;
64+ export { type FileUpdate , type ProgramDriver } from './src/ngtsc/program_driver' ;
65+ export { TrackedIncrementalBuildStrategy } from './src/ngtsc/incremental' ;
66+ export { isShim } from './src/ngtsc/shims' ;
67+ export { getRootDirs } from './src/ngtsc/util/src/typescript' ;
68+ export * from './src/ngtsc/typecheck/api' ;
69+
3670// **Note**: Explicit named exports to make this file work with CJS/ESM interop without
3771// needing to use a default import. NodeJS will expose named CJS exports as named ESM exports.
3872// TODO(devversion): Remove these duplicate exports once devmode&prodmode is combined/ESM.
3973export { ConsoleLogger , Logger , LogLevel } from './src/ngtsc/logging' ;
4074export {
4175 NodeJSFileSystem ,
4276 absoluteFrom ,
43- FileSystem ,
44- AbsoluteFsPath ,
77+ absoluteFromSourceFile ,
78+ resolve ,
79+ type FileStats ,
80+ type PathSegment ,
81+ type PathString ,
82+ getSourceFileOrError ,
83+ type FileSystem ,
84+ type AbsoluteFsPath ,
4585 NgtscCompilerHost ,
4686 getFileSystem ,
4787 setFileSystem ,
0 commit comments