yyy zzz
You can install the package via composer:
composer require based/laravel-typescriptYou can publish the config file with:
php artisan vendor:publish --provider="Based\TypeScript\TypeScriptServiceProvider" --tag="typescript-config"This is the contents of the published config file:
return [
'generators' => [
Model::class => ModelGenerator::class,
],
'output' => resource_path('js/models.d.ts'),
];php artisan typescript:generatecomposer testThe MIT License (MIT). Please see License File for more information.