Skip to content

Commit

Permalink
Merge pull request #70 from kiwilan/develop
Browse files Browse the repository at this point in the history
v2.0.06
  • Loading branch information
ewilan-riviere authored Apr 15, 2024
2 parents 26f99d3 + a914e05 commit 411398b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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.05",
"version": "2.0.06",
"keywords": [
"kiwilan",
"laravel",
Expand Down
3 changes: 1 addition & 2 deletions src/Typed/Route/TypeRouteListTs.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ interface Window {
const appUrl = '{$appUrl}'
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 411398b

Please sign in to comment.