Logo Xantham

TsParameter Type

Represents a function/method parameter.

Reflects: `ParameterDeclaration` (including optional `?` and rest `...` syntax).

Example

 function f(x: number, y?: string, ...rest: boolean[]) {}
val x: obj
Multiple items
val string: value: 'T -> string

--------------------
type string = System.String

Record fields

Record Field Description

Documentation

Full Usage: Documentation

Field type: TsComment list
Field type: TsComment list

IsOptional

Full Usage: IsOptional

Field type: bool
Field type: bool

IsSpread

Full Usage: IsSpread

Field type: bool
Field type: bool

Name

Full Usage: Name

Field type: string
Field type: string

Type

Full Usage: Type

Field type: TypeKey
Field type: TypeKey

Type something to start searching.