mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
93d7f718d2
The quick fix and completion auto-import always generated the module specifier with double quotes, ignoring the user's quote preference and the style used in the file.
The generated import now respects the `quotePreference` from the TypeScript user preferences. When the preference is `auto` (or absent), the style is inferred from the first existing import in the file, mirroring TypeScript's own behavior. Files with no imports
keep the previous double-quote default.
Fixes #67108
(cherry picked from commit 0f0d52e9c1)