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:
committed by
Facebook GitHub Bot
parent
f40c0b9f1e
commit
641d39cf94
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user