Skip to content

Generics type for PerformanceMeasure and PerformanceMark #1392

Open
@HolgerJeromin

Description

@HolgerJeromin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions