Interface ITsType
- Namespace
- TypedRest.CodeGeneration.TypeScript.Model
- Assembly
- TypedRest.CodeGeneration.TypeScript.dll
A TypeScript type declaration that can be exported from a module.
public interface ITsType
Properties
Deprecated
Marks the type as deprecated.
bool Deprecated { get; set; }
Property Value
Identifier
The name of the type and the module it is declared in.
TsIdentifier Identifier { get; }
Property Value
Summary
A description of the type for a JSDoc comment.
string? Summary { get; set; }
Property Value
Methods
GetImports()
Returns all imports needed by the declaration of the type.
IEnumerable<TsImport> GetImports()
Returns
Write(TsWriter)
Writes the declaration of the type.
void Write(TsWriter writer)
Parameters
writerTsWriter