mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: typescript resolves @ionic/angular/common import paths (#27995)
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> IDEs that perform type checking/include a language service will error on the `@ionic/angular/common` import paths and not provide intelisense or auto import detection.  ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - `@ionic/angular/common` import paths are detected by IDEs such as VSCode  ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
This commit is contained in:
@@ -35,8 +35,11 @@
|
||||
{
|
||||
"name": "typescript-eslint-language-service"
|
||||
}
|
||||
]
|
||||
],
|
||||
"paths": {
|
||||
"@ionic/angular/common": ["common/src/index.ts"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "src/schematics"],
|
||||
"files": ["src/index.ts"]
|
||||
"files": ["src/index.ts", "common/src/index.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user