03:49
<rickbutton>
for any babel folks: do the TS extensions to the babel AST have a spec?
03:49
<rickbutton>
can't seem to find any in the repo, only spec for regular babel AST
03:51
<devsnek>
does TS have a spec
03:53
<rickbutton>
good question, i don't think so
04:09
<jschoi>
I wouldn’t envy anyone given the task to write a complete formal specification for TypeScript, even if it’s all defined in terms of transforms to ECMAScript.
04:22
<rickbutton>
yeah a formal spec is right out unless someone really needs a thesis and hates themselves
04:48
<Justin Ridgewell>
There’s an unofficial AST typing
04:50
<Justin Ridgewell>
Eg, https://github.com/babel/babel/blob/d30308fe8eb5dd11c16a2d4c3a058e63ffe7949e/packages/babel-types/src/definitions/typescript.ts#L40
05:01
<rickbutton>
ooh nice thx