Package entry point or file import specifier.

Hierarchy

  • Omit<Package, "kind" | "subpath">
    • Entry

Properties

kind: "entry"
local: string

Local name within imported package scope.

Part of the name after the the slash (/) for scoped package, or the name itself for unscoped one.

name: string

Imported package name, excluding subpath.

scope: undefined | `@${string}`

Resolved package scope. I.e. the part of the name with @ prefix, if any.

spec: string

Original import specifier.

subpath: `/${string}`

Imported subpath following package name including leading slash.

Generated using TypeDoc