Skip to content

Commit

Permalink
feat: Add Normal namespaces for Typescript writter
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuscs committed Jun 19, 2024
1 parent fe215a7 commit 52e8df4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Helpers/TypeDefinitionWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public function format(TypesCollection $collection): string
->replace(search: 'Flavorly.InertiaFlash.', replace: '')
->replace(search: 'Flavorly.LaravelHelpers.', replace: '')
->replace(search: 'App.Data', replace: 'Data')
->replace(search: 'App.Enums', replace: 'Enums')
->replace(search: 'App.Requests', replace: 'Requests')
->replace(search: 'App.Responses', replace: 'Responses')
->replace(search: 'App.Views', replace: 'Views')
->replace(search: 'Domain.', replace: '')
->replace(search: 'Modules.', replace: '')
->replace(search: '.Data', replace: '')
Expand Down

0 comments on commit 52e8df4

Please sign in to comment.