@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
14 lines (13 loc) • 433 B
TypeScript
import { ParsedElement } from '@rxap/xml-parser';
import { SourceFile } from 'ts-morph';
import { IMethodElement } from './method.element';
export declare class OpenApiRemoteMethodElement implements ParsedElement<string>, IMethodElement {
name: string;
mock?: boolean;
toValue({ sourceFile, options, }: {
sourceFile: SourceFile;
options: {
openApiModule?: string;
};
}): string;
}