Skip to content
Snippets Groups Projects
Commit 85d9cc83 authored by stevereis's avatar stevereis
Browse files

Fix type on same field name (GraphQL results)

parent 8a988671
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,12 @@ export class HeatMapResult extends Result {
@Field()
name: string;
@Field(() => [[Number]])
matrix: number[][];
@Field(() => ChartAxis, { nullable: true })
xAxis?: ChartAxis;
@Field(() => ChartAxis)
xAxis: ChartAxis;
@Field(() => ChartAxis, { nullable: true })
yAxis?: ChartAxis;
@Field(() => ChartAxis)
yAxis: ChartAxis;
@Field(() => [[Number]])
matrix: number[][];
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment