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 52e8df4 commit ac58260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Helpers/TypeDefinitionWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public function format(TypesCollection $collection): string
->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: 'App.Http.Requests', replace: 'Requests')
->replace(search: 'App.Http.Responses', replace: 'Responses')
->replace(search: 'App.Http.Views', replace: 'Views')
->replace(search: 'Domain.', replace: '')
->replace(search: 'Modules.', replace: '')
->replace(search: '.Data', replace: '')
Expand Down

0 comments on commit ac58260

Please sign in to comment.