Skip to content

Commit

Permalink
v2.0.02
Browse files Browse the repository at this point in the history
Fix `window.Routes = Routes` for `routes.ts`
  • Loading branch information
ewilan-riviere committed Mar 30, 2024
1 parent 80905a1 commit 855847e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kiwilan/typescriptable-laravel",
"description": "PHP package for Laravel to type Eloquent models, routes, Spatie Settings with autogenerated TypeScript. If you want to use some helpers with Inertia, you can install associated NPM package.",
"version": "2.0.01",
"version": "2.0.02",
"keywords": [
"kiwilan",
"laravel",
Expand Down
2 changes: 1 addition & 1 deletion src/Typed/Route/TypeRouteListTs.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ interface Window {
if (typeof window !== 'undefined') {
if (typeof window !== undefined && typeof window?.Routes !== undefined)
window?.Routes = Routes
window.Routes = Routes
}
export { Routes, appUrl }
Expand Down

0 comments on commit 855847e

Please sign in to comment.