Home > ts-morph-structures > TypeParameterDeclarationImpl
Signature:
export default class TypeParameterDeclarationImpl implements TypeParameterDeclarationStructureClassIfc
Implements: TypeParameterDeclarationStructureClassIfc
Constructor | Modifiers | Description |
---|---|---|
(constructor)(name) | Constructs a new instance of the TypeParameterDeclarationImpl class |
Property | Modifiers | Type | Description |
---|---|---|---|
constraint | stringOrWriterFunction | undefined | ||
constraintStructure | TypeStructures | undefined | ||
default | stringOrWriterFunction | undefined | ||
defaultStructure | TypeStructures | undefined | ||
isConst | boolean | ||
kind | readonly |
StructureKind.TypeParameter | |
leadingTrivia | readonly |
stringOrWriterFunction[] | |
name | string | ||
trailingTrivia | readonly |
stringOrWriterFunction[] | |
variance? | TypeParameterVariance | (Optional) |
Method | Modifiers | Description |
---|---|---|
clone(source) | static |
|
toJSON() |