Added extension to getBestPath API

Summary: Expand API by passing a default extension

Reviewed By: adityasharat

Differential Revision: D23078940

fbshipit-source-id: c9303add194e85deb174a8fc343e37b73f59d1c0
This commit is contained in:
Dominik Wielgórski
2020-08-17 10:18:07 -07:00
committed by Facebook GitHub Bot
parent f40c0b9f1e
commit 641d39cf94

View File

@@ -31,7 +31,11 @@ export abstract class IDEFileResolver {
throw new Error('Method not implemented.');
}
static getBestPath(_paths: string[], _className: string): string {
static getBestPath(
_paths: string[],
_className: string,
_extension?: string,
): string {
throw new Error('Method not implemented.');
}
}