@rxap/schematics-xml-parser
Version:
This package provides utilities for parsing XML templates within Angular Schematics. It includes functionality to locate templates in a file system, parse them using a specified DOMParser, and register custom elements for parsing. The package also offers
15 lines (14 loc) • 420 B
TypeScript
import { ParsedElement } from '@rxap/xml-parser';
import { SourceFile } from 'ts-morph';
export declare class TypeElement implements ParsedElement {
name: string;
from?: string;
nullable?: boolean;
get type(): string;
toValue({ sourceFile }: {
sourceFile: SourceFile;
}): string;
}
export declare class StringTypeElement extends TypeElement implements ParsedElement {
name: string;
}