mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Replace a few type assertions with annotations and satisfies. (#51685)
This commit is contained in:
1 parent
af1d91d9d9
commit
3c99d50da5
5 files changed
+68
-68
No files matched your search
@@ -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