i am using this packge but unable to transform the php class into typeScript
Closed this issue · 1 comments
atif08 commented
My Php Class
<?php
namespace Domain\Orders\DataTransferObjects;
use Spatie\TypeScriptTransformer\Attributes\TypeScript;
#[TypeScript]
class TestType
{
public string $name;
}
and i get this response in my console
+-----------+-------------------+
| PHP class | TypeScript entity |
+-----------+-------------------+
Transformed 0 PHP types to TypeScript
freekmurze commented
Too little info