Writing code

CLASS

TsMethodValue

@skmtc/lang-typescript 0.19.1

What a method renders after its name: (id: string): Promise<Pet> { … }.

The value half of a method definition in a class Index. The name is the identifier's (createMethod).

Signature

import { TsMethodValue } from '@skmtc/lang-typescript'

class TsMethodValue

Constructor

constructor

constructor(args: TsMethodValueArgs)

Properties

parameters, ListParams<Stringable>
returnType, Stringable | undefined
body, Stringable | undefined

Methods

toString

toString(): string