feat(tsc-wrapped): add an option to ngc
to bundle metadata (#14509)
Closes #14509
This commit is contained in:

committed by
Igor Minar

parent
9a6f3d637f
commit
3b896709a9
@ -23,6 +23,7 @@ export interface ModuleMetadata {
|
||||
__symbolic: 'module';
|
||||
version: number;
|
||||
exports?: ModuleExportMetadata[];
|
||||
importAs?: string;
|
||||
metadata: {[name: string]: MetadataEntry};
|
||||
}
|
||||
export function isModuleMetadata(value: any): value is ModuleMetadata {
|
||||
@ -261,6 +262,11 @@ export interface MetadataError {
|
||||
*/
|
||||
character?: number;
|
||||
|
||||
/**
|
||||
* The module of the error (only used in bundled metadata)
|
||||
*/
|
||||
module?: string;
|
||||
|
||||
/**
|
||||
* Context information that can be used to generate a more descriptive error message. The content
|
||||
* of the context is dependent on the error message.
|
||||
|
Reference in New Issue
Block a user