From 641d39cf94371d22f9153424dd9c87f5e92512cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Wielg=C3=B3rski?= Date: Mon, 17 Aug 2020 10:18:07 -0700 Subject: [PATCH] Added extension to getBestPath API Summary: Expand API by passing a default extension Reviewed By: adityasharat Differential Revision: D23078940 fbshipit-source-id: c9303add194e85deb174a8fc343e37b73f59d1c0 --- desktop/app/src/fb-stubs/IDEFileResolver.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/desktop/app/src/fb-stubs/IDEFileResolver.tsx b/desktop/app/src/fb-stubs/IDEFileResolver.tsx index 5ea614803..de55bbc9f 100644 --- a/desktop/app/src/fb-stubs/IDEFileResolver.tsx +++ b/desktop/app/src/fb-stubs/IDEFileResolver.tsx @@ -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.'); } }