Closed
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
Relevant Package
utils
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Description
The getParserServices
function contains this comment:
// backwards compatibility check
// old versions of the parser would not return any parserServices unless parserOptions.project was set
Additionally, later on in that file:
const hasFullTypeInformation =
context.parserServices.hasFullTypeInformation ??
/* backwards compatible */ true;
Does that mean we can get rid of some of the code in that file?
Fail
n/a
Pass
n/a
Additional Info
No response