Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/api-extractor-model > ApiEntryPoint > importPath

ApiEntryPoint.importPath property

The module path for this entry point, relative to the parent ApiPackage. In the current implementation, this is always the empty string, indicating the default entry point.


get importPath(): string;


API Extractor does not currently support analysis of multiple entry points. If that feature is implemented in the future, then the ApiEntryPoint.importPath will be used to distinguish different entry points, for example: controls/Button in import { Button } from "example-package/controls/Button";.

The property stores the same value as ApiEntryPoint.importPath.