Skip to content

Commit 411398b

Browse files
Merge pull request #70 from kiwilan/develop
v2.0.06
2 parents 26f99d3 + a914e05 commit 411398b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "kiwilan/typescriptable-laravel",
33
"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.",
4-
"version": "2.0.05",
4+
"version": "2.0.06",
55
"keywords": [
66
"kiwilan",
77
"laravel",

src/Typed/Route/TypeRouteListTs.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ interface Window {
5858
const appUrl = '{$appUrl}'
5959
6060
if (typeof window !== 'undefined') {
61-
if (typeof window !== 'undefined' && typeof window?.Routes !== 'undefined')
62-
window.Routes = Routes
61+
window.Routes = Routes
6362
}
6463
6564
export { Routes, appUrl }

0 commit comments

Comments
 (0)