import { Col } from "./Column"; const PGTimestamp = "PGTimestamp"; export function cast(col: Col, type: "PGInt"): Col; export function cast(col: Col, type: "PGTimestamp"): Col; export function cast(_col: Col, _type: any): Col { throw new Error("TODO"); } export function x(col: Col) { const y = cast(col, PGTimestamp); return y; }