We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c46069 commit 08b571aCopy full SHA for 08b571a
src/Laravel/RouterGenerator.php
@@ -93,7 +93,7 @@ public function provide(): array
93
$transformedAction = new Transformed(
94
new TypeScriptFunctionDefinition(
95
new TypeScriptGeneric(
96
- new TypeScriptIdentifier('route'),
+ new TypeScriptIdentifier('action'),
97
[
98
new TypeScriptGenericTypeVariable(
99
new TypeScriptIdentifier('TController'),
@@ -123,7 +123,7 @@ public function provide(): array
123
new TypeScriptRaw("let routes = JSON.parse('".json_encode($controllers->toJsObject(), flags: JSON_UNESCAPED_SLASHES)."')")
124
),
125
null,
126
- 'route',
+ 'action',
127
true,
128
[],
129
);
0 commit comments