Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ricksharp
on Sept 28, 2020
|
parent
|
context
|
favorite
| on:
Show HN: A SQL database implemented purely in Type...
Not exactly (there is no duplication), a string constant in typescript is it's own type:
const sql = 'SELECT ...'; type SQL = typeof sql; // type SQL = "SELECT ..."
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: