@@ -117,7 +117,7 @@ export abstract class FileSystemEngineHostBase implements FileSystemEngineHost_2
117
117
// (undocumented)
118
118
registerContextTransform(t : ContextTransform ): void ;
119
119
// (undocumented)
120
- registerOptionsTransform<T extends object , R extends object >(t : OptionTransform <T , R >): void ;
120
+ registerOptionsTransform<T extends object | null , R extends object >(t : OptionTransform <T , R >): void ;
121
121
// (undocumented)
122
122
registerTaskExecutor<T >(factory : TaskExecutorFactory <T >, options ? : T ): void ;
123
123
// (undocumented)
@@ -235,7 +235,7 @@ export interface NodeWorkflowOptions {
235
235
// (undocumented)
236
236
force? : boolean ;
237
237
// (undocumented)
238
- optionTransforms? : OptionTransform <object , object >[];
238
+ optionTransforms? : OptionTransform <Record < string , unknown > | null , object >[];
239
239
// (undocumented)
240
240
packageManager? : string ;
241
241
// (undocumented)
@@ -251,7 +251,7 @@ export interface NodeWorkflowOptions {
251
251
}
252
252
253
253
// @public (undocumented)
254
- export type OptionTransform <T extends object , R extends object > = (schematic : FileSystemSchematicDescription , options : T , context ? : FileSystemSchematicContext ) => Observable <R > | PromiseLike <R > | R ;
254
+ export type OptionTransform <T extends object | null , R extends object > = (schematic : FileSystemSchematicDescription , options : T , context ? : FileSystemSchematicContext ) => Observable <R > | PromiseLike <R > | R ;
255
255
256
256
// @public (undocumented)
257
257
export class SchematicMissingDescriptionException extends BaseException {
@@ -274,7 +274,7 @@ export class SchematicNameCollisionException extends BaseException {
274
274
}
275
275
276
276
// @public (undocumented)
277
- export function validateOptionsWithSchema(registry : schema .SchemaRegistry ): <T extends {}>(schematic : FileSystemSchematicDescription , options : T , context ? : FileSystemSchematicContext | undefined ) => Observable <T >;
277
+ export function validateOptionsWithSchema(registry : schema .SchemaRegistry ): <T extends {} | null >(schematic : FileSystemSchematicDescription , options : T , context ? : FileSystemSchematicContext | undefined ) => Observable <T >;
278
278
279
279
// (No @packageDocumentation comment for this package)
280
280
0 commit comments