Describe the bug
My view collection has only an ID field, as this returns a public count of entries.
This was generated by typegen:
export type MainDataCountResponse<Texpand = unknown> = Required<MainDataCountRecord> & BaseSystemFields<Texpand>;
Accessing the ID field doesn't work with following error:
[{
"owner": "typescript",
"code": "2339",
"severity": 8,
"message": "Property 'id' does not exist on type 'never'.",
"source": "ts"
}]
Versions
pocketbase-typegen version: 1.2.1
pocketbase version: 0.21.1