ReadonlycategoryRule category for grouping.
ReadonlydescriptionRule description explaining what it does.
ReadonlyidUnique rule identifier (scoped to plugin).
ReadonlynameHuman-readable rule name.
ReadonlytagsTags for filtering and search.
Transform a source file.
Transform context with file, project, and API access
Promise resolving to transform result
Transform rule
angular:interface-duplication-transform: consolidates groups of 3 or more interfaces that share a name suffix and common properties into a base interface plus branded type aliases (unique symbols), and updates imports, type annotations, generics and re-exports across the project.Runs only when the plugin config sets
transformationType: 'interface-duplication'; skips.d.tsfiles and delegates to InterfaceDuplicationTransformOrchestrator. Reportsmodifiedwhen any file of the project changed.Example