Home > @microsoft/api-extractor-model > ApiExportedMixin > isExported
ApiExportedMixin.isExported property
Whether the declaration is exported from its parent item container (i.e. either an ApiEntryPoint
or an ApiNamespace
).
Signature:
readonly isExported: boolean;
Remarks
Suppose index.ts
is your entry point:
// index.ts
export class A {}
class B {}
namespace n {
export class C {}
class D {}
}
// file.ts
export class E {}
Classes A
and C
are both exported, while classes B
, D
, and E
are not. E
is exported from its local file, but not from its parent item container (i.e. the entry point).