property SchematicOptions.legacyModules

Pre-module-declaration directories that retain the old controller/service barrel exports until their application converts to MODULES.

Optional for the same public-interface compatibility reason as modules. A missing value means there are no legacy directories to preserve.

Type

readonly string[]

Usage

import { type SchematicOptions } from "cli/src/index.ts";