Skip to content

Typing of ClassOutput #152

Closed
Closed
@Peter9192

Description

@Peter9192
          I think the idea of this is to have ClassOutput type be 
type ClassOutput = {
    t: number[];
    h: number[];
    theta: number[];
    dtheta: number[];
    q: number[];
    dq: number[];
    dthetav: number[];
    we: number[];
    ws: number[];
    wthetave: number[];
    wthetav: number[];
}

however it is

type ClassOutput = {
    [x: string]: number[];
}

I quickly tried to typing outputVariables with as const satisfies readonly OutputVariable[], but that broke things downstream and did not have time to fix all those.

Originally posted by @sverhoeven in #138 (comment)

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