TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

Generics type for PerformanceMeasure and PerformanceMark

Open HolgerJeromin opened this issue 3 years ago • 0 comments

It would be really nice if I could create this type:

type myReturnValue = {
  mystuff: object,
  measurement: PerformanceMeasure<{ 
    /** best number */
    myNumber:number; 
    /** nice string */
    myString: string
  }>
}

related #1239 cc @yume-chan

HolgerJeromin avatar Sep 07 '22 15:09 HolgerJeromin