Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Class

Class<P, R>: object

Alias to create/describe a class

Type parameters

  • P: List

    its constructor parameters

  • R: object

    the object it constructs

returns

class

example

import {C} from 'ts-toolbelt'

type test0 = C.Class<[string, number], {a: string, b: number}>

declare const SomeClass: test0

const obj = new SomeClass('foo', 42) // {a: string, b: number}

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.