mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Replace a few type assertions with annotations and satisfies. (#51685)
This commit is contained in:
@@ -2660,7 +2660,7 @@ export class ProjectService {
|
||||
this.eventHandler({
|
||||
eventName: ConfigFileDiagEvent,
|
||||
data: { configFileName: project.getConfigFilePath(), diagnostics, triggerFile }
|
||||
} as ConfigFileDiagEvent);
|
||||
} satisfies ConfigFileDiagEvent);
|
||||
}
|
||||
|
||||
private getOrCreateInferredProjectForProjectRootPathIfEnabled(info: ScriptInfo, projectRootPath: NormalizedPath | undefined): InferredProject | undefined {
|
||||
|
||||
Reference in New Issue
Block a user