Class: RuntimeTypesGenerator
The runtime types generator for the JavaScript target.
Since
0.12.0
Table of contents
Constructors
Methods
Constructors
constructor
• new RuntimeTypesGenerator()
Methods
generateInterfaceRuntimeType
▸ Static
generateInterfaceRuntimeType(node
): Promise
<TranslatedCodeLine
[]>
Generates the runtime type structure for an interface declaration.
Since
0.12.0
Parameters
Name | Type | Description |
---|---|---|
node |
InterfaceDeclaration |
The node to translate. |
Returns
Promise
<TranslatedCodeLine
[]>
Defined in
kipper/target-js/src/runtime-types.ts:15