Skip to content

Commit 73edf73

Browse files
fix: mapped types shim should return classes #2610
1 parent 9ebe5e8 commit 73edf73

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/extra/swagger-shim.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,16 @@ export function SwaggerModule() {
153153
return () => {};
154154
}
155155
export function IntersectionType() {
156-
return () => {};
156+
return class {};
157157
}
158158
export function OmitType() {
159-
return () => {};
159+
return class {};
160160
}
161161
export function PartialType() {
162-
return () => {};
162+
return class {};
163163
}
164164
export function PickType() {
165-
return () => {};
165+
return class {};
166166
}
167167
export function getSchemaPath() {
168168
return () => '';

0 commit comments

Comments
 (0)