chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-06 14:25:11 -07:00
parent 94cf5c4706
commit 6336eac4b5
477 changed files with 59087 additions and 74961 deletions

View File

@@ -2,18 +2,16 @@
* Provides ModuleNameResolver class used for loading files based on device capabilities.
*/ /** */
import { PlatformContext } from "./qualifier-matcher";
// export { PlatformContext } from "./qualifier-matcher";
import { PlatformContext } from './qualifier-matcher';
export { PlatformContext } from './qualifier-matcher';
export type ModuleListProvider = () => string[];
export class ModuleNameResolver {
constructor(
context: PlatformContext,
moduleListProvider?: ModuleListProvider
);
resolveModuleName(path: string, ext: string): string;
clearCache(): void;
constructor(context: PlatformContext, moduleListProvider?: ModuleListProvider);
resolveModuleName(path: string, ext: string): string;
clearCache(): void;
}
export function resolveModuleName(path: string, ext: string): string;