Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MyService

An example class that we want to mock

Hierarchy

  • MyService

Implements

Index

Constructors

constructor

  • new MyService(_constrParamOne: string, _constrParamTwo: number): MyService

Properties

propOne

propOne: string = ""

Optional propThree

propThree: number | undefined

propTwo

propTwo: string = ""

Static staticPropOne

staticPropOne: string = "staticOne"

Static staticPropTwo

staticPropTwo: number = 0

Methods

functionOne

  • functionOne(): void

functionThree

  • functionThree(): string

functionTwo

  • functionTwo(_value: string): boolean

Static staticFunctionOne

  • staticFunctionOne(paramOne: string, paramTwo: number): string

Generated using TypeDoc