-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptBreaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone
Milestone
Description
Bug Report
π Search Terms
typescript.d.ts
π Version & Regression Information
4.7.0-dev.20220315
β― Playground Link
NA
Bug
In typescript.d.ts
, LanguageServiceHost.readFile
is no longer marked as an optional method in 4.7.0-dev.20220315
(checked by running npm install typescript@next
)
This method was still optional in 4.7.0-dev.20220303
and I also see the method is optional in main
:
TypeScript/lib/typescript.d.ts
Line 5551 in 5f017df
readFile?(path: string, encoding?: string): string | undefined; |
Metadata
Metadata
Assignees
Labels
APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptBreaking ChangeWould introduce errors in existing codeWould introduce errors in existing codeRescheduledThis issue was previously scheduled to an earlier milestoneThis issue was previously scheduled to an earlier milestone