Skip to main content

Class: DefaultSeason

Defined in: src/core/transforms.ts:172

sdv-py _DefaultSeason: a season the wrapper filled in (not the caller's). redateDefaultSeasons dates it for the request's league, endpoint and SeasonType.

Remarks​

A String subclass, so it serialises like the label it wraps (String(s), template literals) but is distinguishable with instanceof DefaultSeason. Only season_latest_with_data constructs it.

Extends​

  • String

Indexable​

[index: number]: string

Constructors​

Constructor​

new DefaultSeason(value?): DefaultSeason

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:533

Parameters​

value?​

any

Returns​

DefaultSeason

Inherited from​

String.constructor