Skip to content

Commit e8c82d7

Browse files
author
nicosammito
committed
feat: update type definition in object.proto.json for improved generic key handling
1 parent 6a461fc commit e8c82d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

definitions/standard/data_type/object/object.proto.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
}
2020
],
2121
"genericKeys": ["T"],
22-
"type": "T & {}",
22+
"type": "{ [K in keyof T]: T[K] }",
2323
"rules": []
2424
}

0 commit comments

Comments
 (0)