diff --git a/composer.json b/composer.json index 5b1c8edf8..f46bf673e 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "phpstan/extension-installer": "^1.1", "phpunit/phpunit": "^9.3", "spatie/invade": "^1.0", - "spatie/typescript-transformer": "v3.x-dev#b89615c", + "spatie/laravel-typescript-transformer": "^2.3", "spatie/pest-plugin-snapshots": "^1.1", "spatie/phpunit-snapshot-assertions": "^4.2", "spatie/test-time": "^1.2" diff --git a/src/Support/DataClass.php b/src/Support/DataClass.php index d9c50e24c..7b973c3f2 100644 --- a/src/Support/DataClass.php +++ b/src/Support/DataClass.php @@ -46,6 +46,7 @@ public function __construct( public readonly bool $wrappable, public readonly Collection $attributes, public readonly array $dataCollectablePropertyAnnotations, + public readonly DataClassNameMapping $outputNameMapping, ) { }