Represents the result of stub generation after attempting to write to disk. Indicates whether the file was created, skipped, or force-created with reasons.
File generation was skipped
Reason why the file was skipped
File was successfully created
File was overwritten because force option was enabled
// File created successfullyconst result: GeneratedStub = { status: 'created', skipReason: null, contents: '...', destination: '/path/to/file.ts', attributes: {}} Copy
// File created successfullyconst result: GeneratedStub = { status: 'created', skipReason: null, contents: '...', destination: '/path/to/file.ts', attributes: {}}
// File already exists and force was not enabledconst result: GeneratedStub = { status: 'skipped', skipReason: 'File already exists', contents: '...', destination: '/path/to/file.ts', attributes: {}} Copy
// File already exists and force was not enabledconst result: GeneratedStub = { status: 'skipped', skipReason: 'File already exists', contents: '...', destination: '/path/to/file.ts', attributes: {}}
Represents the result of stub generation after attempting to write to disk. Indicates whether the file was created, skipped, or force-created with reasons.