Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SampleMockedClass

Hierarchy

  • SampleMockedClass

Index

Constructors

constructor

Properties

propertyOne

propertyOne: string = "mocked"

propertyThree

propertyThree: boolean = true

propertyTwo

propertyTwo: number = 123

Static propertyOne

propertyOne: string = ""

Static propertyTwo

propertyTwo: number = 2

Methods

functionWithCallback

  • functionWithCallback(_callback: () => boolean): void

functionWithComplexParam

  • functionWithComplexParam(_param: { one: string; three?: Date; two: number }, _two?: undefined | string, _three?: undefined | number): void
  • Parameters

    • _param: { one: string; three?: Date; two: number }
      • one: string
      • Optional three?: Date
      • two: number
    • Optional _two: undefined | string
    • Optional _three: undefined | number

    Returns void

functionWithNoParamsAndNoReturn

  • functionWithNoParamsAndNoReturn(): void

functionWithNoParamsAndReturnType

  • functionWithNoParamsAndReturnType(): string

functionWithParamsAndNoReturn

  • functionWithParamsAndNoReturn(_paramOne: string, _paramTwo: number, _paramThree?: undefined | false | true): void
  • Parameters

    • _paramOne: string
    • _paramTwo: number
    • Optional _paramThree: undefined | false | true

    Returns void

functionWithParamsAndReturn

  • functionWithParamsAndReturn(paramOne: string, paramTwo?: undefined | number, paramThree?: undefined | false | true): string
  • Parameters

    • paramOne: string
    • Optional paramTwo: undefined | number
    • Optional paramThree: undefined | false | true

    Returns string

Static doStuff

  • doStuff(): void

Static doStuffWithParams

  • doStuffWithParams(_paramOne: string, _paramTwo: number, _paramThree?: undefined | false | true): void
  • Parameters

    • _paramOne: string
    • _paramTwo: number
    • Optional _paramThree: undefined | false | true

    Returns void

Static functionWithComplexParam

  • functionWithComplexParam(_param: { one: string; two: number }, _two?: undefined | string, _three?: undefined | number): void
  • Parameters

    • _param: { one: string; two: number }
      • one: string
      • two: number
    • Optional _two: undefined | string
    • Optional _three: undefined | number

    Returns void

Static functionWithNoParamsAndNoReturn

  • functionWithNoParamsAndNoReturn(): void

Static functionWithNoParamsAndReturnType

  • functionWithNoParamsAndReturnType(): string

Static functionWithParamsAndNoReturn

  • functionWithParamsAndNoReturn(_paramOne: string, _paramTwo: number, _paramThree?: undefined | false | true): void

Static functionWithParamsAndReturn

  • functionWithParamsAndReturn(paramOne: string, paramTwo?: undefined | number, paramThree?: undefined | false | true): string
  • Parameters

    • paramOne: string
    • Optional paramTwo: undefined | number
    • Optional paramThree: undefined | false | true

    Returns string

Generated using TypeDoc