3 ms·
It might be possible to have a babel macro function that inspects the passed SQL query and generate TS type from it. However, the query might contain a wild ca
by ducaale 5y ago
It might be possible to have a babel macro function that inspects the passed SQL query and generate TS type from it.
However, the query might contain a wild card which means the macro function will also need access to the current DB schema.