Skip to content

TypeScript returns an unexpected value for findConfigFile #2965

Closed
@blakeembrey

Description

@blakeembrey

I'm assuming this is unexpected, because I definitely did not expect it. findConfigFile will always return the string tsconfig.json and not use the search path when a tsconfig.json exists in the current working directory. Here's the offending lines: https://github.com/Microsoft/TypeScript/blob/f988a11cfcb5503d575260563ffb7ea66549d6ad/src/compiler/program.ts#L16-L18

Metadata

Metadata

Assignees

Labels

APIRelates to the public API for TypeScriptBugA bug in TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions