Skip to content

[I] TemplateParameter

Experimental

This is a type you should never see in the program. If you do you might be missing a isTemplateDeclaration check to exclude that type. Working with template declaration is not something that is currently supported.

PropertyModifierTypeDescriptionOverridesInherited from
creating?publictrueExperimental If the type is currently being created.-BaseType.creating
entityKindreadonly"Type"Experimental Distinguishes semantic types from values and parameter constraints.-BaseType.entityKind
instantiationParameters?publicType[]Experimental Legacy instantiation metadata. The compiler’s type checker does not populate this field, so its absence does not indicate whether this type is a template instance.-BaseType.instantiationParameters
isFinishedpublicbooleanExperimental Reflect if a type has been finished(Decorators have been called). There is multiple reasons a type might not be finished: - a template declaration will not - a template instance that argument that are still template parameters - a template instance that is only partially instantiated(like a templated operation inside a templated interface)-BaseType.isFinished
kindpublic"TemplateParameter"Experimental Discriminant for an unresolved template parameter rather than a substituted argument.BaseType.kind-