Skip to content

Commit fc6ee26

Browse files
authored
Replace CarbonInterface with a string
1 parent 8da59ae commit fc6ee26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/typescript-transformer.php

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
'default_type_replacements' => [
4343
DateTime::class => 'string',
4444
DateTimeImmutable::class => 'string',
45+
Carbon\CarbonInterface::class => 'string',
4546
Carbon\CarbonImmutable::class => 'string',
4647
Carbon\Carbon::class => 'string',
4748
],

0 commit comments

Comments
 (0)