Skip to content

Commit d3113c6

Browse files
Fix TypeScript Transformer issue
1 parent de9ca78 commit d3113c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/TypeScriptTransformer/DataTypeScriptTransformer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function (string $carry, ReflectionProperty $property) use ($isOptional, $dataCl
8585
$transformed = $this->typeToTypeScript(
8686
$type,
8787
$missingSymbols,
88-
$property->getDeclaringClass()->getName(),
88+
currentClass: $property->getDeclaringClass()->getName(),
8989
);
9090

9191
$propertyName = $dataProperty->outputMappedName ?? $dataProperty->name;

0 commit comments

Comments
 (0)