Skip to content

Commit 08b571a

Browse files
wip
1 parent 1c46069 commit 08b571a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Laravel/RouterGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function provide(): array
9393
$transformedAction = new Transformed(
9494
new TypeScriptFunctionDefinition(
9595
new TypeScriptGeneric(
96-
new TypeScriptIdentifier('route'),
96+
new TypeScriptIdentifier('action'),
9797
[
9898
new TypeScriptGenericTypeVariable(
9999
new TypeScriptIdentifier('TController'),
@@ -123,7 +123,7 @@ public function provide(): array
123123
new TypeScriptRaw("let routes = JSON.parse('".json_encode($controllers->toJsObject(), flags: JSON_UNESCAPED_SLASHES)."')")
124124
),
125125
null,
126-
'route',
126+
'action',
127127
true,
128128
[],
129129
);

0 commit comments

Comments
 (0)