UNPKG

yeoman-generator

Version:

Rails-inspired generator system that provides scaffolding for your apps

7 lines (6 loc) • 405 B
import type { PathOptions } from '../types.js'; /** * Split `PathOptions` from an options object so the remaining options can be forwarded untouched. * Objects without a path option (including `fs.Stats` instances) are returned as is, not copied. */ export declare function splitPathOptions<T extends object>(options: (T & PathOptions) | undefined): [pathOptions: PathOptions, options: T | undefined];