GS
если не ошибаюсь можно просто указать так:
@Column({ type: DataType.GEOMETRY('POINT'))
coordinates: {
type: string,
coordinates: [number, number],
};ну исходя из того что из базы оно отдается в таком виде:
{
"type": "Point",
"coordinates": [
42.3446304,
-71.0310138
]
}export type PostgresPoint = {
type: 'Point',
coordinates: [number, number],
};
