You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, some of these imports have to be imported with the type keyword when using verbatimModuleSyntax
So for this example, the correct import statement would be:
Since Angular 18.2 using isolatedModules in the tsconfig provides a performance boost and the developer experience is better when using verbatimModuleSyntax as the auto imports eg. in vscode are more usable that way.
I will create a PR with a proposal for a fix shortly.
Note: changing this does NOT create a breaking change
The text was updated successfully, but these errors were encountered:
Hi there,
we just discovered that the protoc-gen-ng package is incompatible with the
verbatimModuleSyntax
flag in the tsconfig.An example of what gets generated:
However, some of these imports have to be imported with the
type
keyword when usingverbatimModuleSyntax
So for this example, the correct import statement would be:
Since Angular 18.2 using
isolatedModules
in the tsconfig provides a performance boost and the developer experience is better when usingverbatimModuleSyntax
as the auto imports eg. in vscode are more usable that way.I will create a PR with a proposal for a fix shortly.
Note: changing this does NOT create a breaking change
The text was updated successfully, but these errors were encountered: