@angular/language-service
Advanced tools
Comparing version 18.2.0-next.0 to 18.2.0-next.1
@@ -60,2 +60,9 @@ /** | ||
/** | ||
* Function that can be invoked to show progress when computing | ||
* refactoring edits. | ||
* | ||
* Useful for refactorings which take a long time to compute edits for. | ||
*/ | ||
export type ApplyRefactoringProgressFn = (percentage: number, updateMessage: string) => void; | ||
/** | ||
* `NgLanguageService` describes an instance of an Angular language service, | ||
@@ -69,3 +76,5 @@ * whose API surface is a strict superset of TypeScript's language service. | ||
getTypescriptLanguageService(): ts.LanguageService; | ||
applyRefactoring(fileName: string, positionOrRange: number | ts.TextRange, refactorName: string, reportProgress: ApplyRefactoringProgressFn): ts.RefactorEditInfo | undefined; | ||
hasCodeFixesForErrorCode(errorCode: number): boolean; | ||
} | ||
export declare function isNgLanguageService(ls: ts.LanguageService | NgLanguageService): ls is NgLanguageService; |
{ | ||
"name": "@angular/language-service", | ||
"version": "18.2.0-next.0", | ||
"version": "18.2.0-next.1", | ||
"description": "Angular - language services", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20628240
1191
1