Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeScript error when verbatimModuleSyntax is enabled #476

Merged
merged 2 commits into from Jan 23, 2024

Conversation

NilsMinten
Copy link
Contributor

When verbatimModuleSyntax is enabled in TypeScript when building your application two Type errors would pop up.

TS1484: 'RoutesMap' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
 
TS1484: 'Route' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.

When `verbatimModuleSyntax` is enabled in TypeScript when building your application two Type errors would pop up. 

```console 
TS1484: 'RoutesMap' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
```
```console 
TS1484: 'Route' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
```
@tobias-93 tobias-93 merged commit 6650f94 into FriendsOfSymfony:master Jan 23, 2024
10 checks passed
@tobias-93
Copy link
Collaborator

Thanks @NilsMinten!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants