chore: Fixing some typescript errors

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-08-05 17:11:56 +02:00
committed by Patrik Oldsberg
parent fed70efe37
commit 65a1f99d03
@@ -328,7 +328,10 @@ class ExtensionBlueprintImpl<
return this.options.factory(args.params, {
node,
config,
inputs,
// TODO: Figure out types once legacy data map input type is gone
inputs: inputs as unknown as Expand<
ResolvedExtensionInputs<TInputs>
>,
});
}
throw new Error('Either params or factory must be provided');