Skip to content

Commit 077b3a3

Browse files
authored
Update README.md
1 parent a96365e commit 077b3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ echo (new TypeScriptifyModel(\App\Models\User::class))->generate();
5656

5757
## Caveats
5858

59-
**TypeScriptifyModels** is only able to map _predictable_ data types to TypeScript types. [Custom casts](https://laravel.com/docs/9.x/eloquent-mutators#custom-Casts) and [Custom Accessors](https://laravel.com/docs/9.x/eloquent-mutators#accessors-and-mutators) are not, and cannot be supported.
59+
**TypeScriptifyModels** is only able to map _predictable_ data types to TypeScript types. [Custom Casts](https://laravel.com/docs/9.x/eloquent-mutators#custom-Casts) and [Custom Accessors](https://laravel.com/docs/9.x/eloquent-mutators#accessors-and-mutators) are not, and cannot be supported.
6060

6161
If **TypeScriptifyModels** fails to map a type to a TypeScript type, it will set the value to `unknown` in the TypeScript interface definition.
6262

0 commit comments

Comments
 (0)