property AdditionalExport.content

For complex types like classes and functions, provide the body content. The export declaration will be automatically generated based on the type.

Examples

Example 1

// For a class:
content: `
  static getVersion(): string {
    return VERSION;
  }
`

// For a function:
content: `(): string {
  return \`v\${VERSION}\`;
}`

Type

string

Usage

import { type AdditionalExport } from ".";