@baseplate-dev/core-generators
Version:
Core generators for Baseplate
10 lines • 675 B
TypeScript
/**
* Resolve the correct import for a package path specifier from a specific package.
*
* @param packagePathSpecifier - The package path specifier is a path that inclues
* the package name and the path to the file, e.g. `@baseplate-dev/core-generators:src/renderers/plugins/typed-templates-file.ts`
* @param importingPackage - The name of the package importing the packagePathSpecifier.
* @returns The resolved import path which is either a package name or the subpath import (e.g. `#src/...`).
*/
export declare function resolvePackagePathSpecifier(packagePathSpecifier: string, importingPackage: string): string;
//# sourceMappingURL=package-path-specifier.d.ts.map