Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed Sep 22, 2023
1 parent af02483 commit 2edbef1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ jobs:
- php: '8.2'
laravel: 7.*
steps:
- if: ${{ matrix.os[0] == 'Windows' }}
run: |
git config --global core.autocrlf false
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion src/Output/Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __toString(): string
return <<<JAVASCRIPT
/* This file is generated automatically! */
declare module 'ziggy-js' {
interface RouteLookup {$routes->toJson(JSON_PRETTY_PRINT)}
interface RouteLookup {$routes->toJson()}
}
export {};
Expand Down
18 changes: 1 addition & 17 deletions tests/fixtures/ziggy-7.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
/* This file is generated automatically! */
declare module 'ziggy-js' {
interface RouteLookup {
"posts.index": [],
"postComments.show": [
{
"name": "post"
},
{
"name": "comment",
"binding": "uuid"
}
],
"postComments.store": [
{
"name": "post"
}
]
}
interface RouteLookup {"posts.index":[],"postComments.show":[{"name":"post"},{"name":"comment","binding":"uuid"}],"postComments.store":[{"name":"post"}]}
}
export {};
9 changes: 1 addition & 8 deletions tests/fixtures/ziggy.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
/* This file is generated automatically! */
declare module 'ziggy-js' {
interface RouteLookup {
"posts.index": [],
"postComments.store": [
{
"name": "post"
}
]
}
interface RouteLookup {"posts.index":[],"postComments.store":[{"name":"post"}]}
}
export {};

0 comments on commit 2edbef1

Please sign in to comment.