Add functionality to resolve Litho Components / Sections
Summary: Few cases to consider: - SomeComponent.* might correspond to SomeComponentSpec.java - SomeComponent.* might correspond to SomeComponentSpec.kt - SomeComponent.* might not have a corresponding Spec file - SomeComponent.kt (if it's a KComponent) corresponds to SomeComponent.kt Reviewed By: adityasharat Differential Revision: D23100032 fbshipit-source-id: f0604f3d1061f0e15fa2f455bdddd4d07ac12305
This commit is contained in:
committed by
Facebook GitHub Bot
parent
641d39cf94
commit
26b54ece5a
@@ -31,6 +31,10 @@ export abstract class IDEFileResolver {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
static async getLithoComponentPath(_className: string): Promise<string> {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
static getBestPath(
|
||||
_paths: string[],
|
||||
_className: string,
|
||||
|
||||
Reference in New Issue
Block a user