Skip to content

Commit 5e84419

Browse files
authored
linebreak
1 parent 37eda5f commit 5e84419

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/usage/annotations.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ export type UserRepository = {
192192
We can do better than this, since we know the keys of the array:
193193

194194
```php
195-
use Spatie\TypeScriptTransformer\Attributes\TypeScript;#[TypeScript]
195+
use Spatie\TypeScriptTransformer\Attributes\TypeScript;
196+
197+
#[TypeScript]
196198
class UserRepository{
197199
#[TypeScriptType([
198200
'name' => 'string',

0 commit comments

Comments
 (0)