angular-package
TwitterGitHub
Text
Text
  • Introduction
  • Benefits
  • Getting started
    • General concepts
    • Skeleton
    • Installation
    • Public API
  • Wrapper
    • Basic concepts
    • Wrap
      • Generic type variables
      • Instance accessors
      • Instance properties
      • Static methods
      • Wrap() constructor
      • Instance methods
      • Examples
    • Wrapper
      • Generic type variables
      • Static properties
      • Instance accessors
      • Static methods
      • Wrapper() constructor
      • Instance methods
      • Examples
    • Wrapped
      • Generic type variables
      • Instance accessors
      • Instance properties
      • Static methods
      • Wrapped() constructor
      • Instance methods
      • Types
      • Examples
  • Tag
    • Basic concepts
    • Tag
      • Generic type variables
      • Static accessors
      • Static properties
      • Instance accessors
      • Instance properties
      • Static methods
      • Tag() constructor
      • Instance methods
      • Types
      • Examples
    • BBCodeTag
      • Static methods
      • BBCodeTag() constructor
    • HtmlTag
      • Generic type variables
      • HtmlTag() constructor
    • Tags
    • Tagged
  • Main
    • AllowedChars
    • Attribute
      • Generic type variables
      • Instance accessors
      • Instance properties
      • Static methods
      • Attribute() constructor
      • Instance methods
    • Attributes
    • Template
    • Text
  • Legend
    • Property tags
  • Other
    • Contact
    • Sponsor
  • More versions
Powered by GitBook
On this page
  • Wrapped<Closing>
  • Wrapped<Opening>
  • Wrapped<Text>

Was this helpful?

  1. Wrapper
  2. Wrapped

Generic type variables

For an instance.

PreviousWrappedNextInstance accessors

Last updated 3 years ago

Was this helpful?

Wrapped<Closing>

Closing extends string

​A generic type variable constrained by the , by default of the value captured from the provided wrap indicates the closing type of a new instance.

Wrapped<Opening>

Opening extends string

​A generic type variable constrained by the , by default of the value captured from the provided wrap indicates the opening type of a new instance.

Wrapped<Text>

Text extends string

​A generic type variable constrained by the by default of the value captured from the provided text parameter indicates the text type of a new instance.

wrapped.class.ts
class Wrapped<
  Text extends string = string,
  Opening extends string = string,
  Closing extends string = string
> extends String {
string
Wrapped
string
Wrapped
string
Wrapped