Skip to content

Commit b7a0d4b

Browse files
fix: spread sub type onto parent type for dynamic param interface (#242)
1 parent dd2d3f7 commit b7a0d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module-declaration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ export const generateModuleDeclaration = (
386386
type: DynamicParamInterfaces.createParamInterface(
387387
{
388388
...p,
389-
type: t,
389+
...t,
390390
} as any,
391391
'',
392392
),

0 commit comments

Comments
 (0)