EoinDavey / tsPEG

PEG Parser Generator for TypeScript
Mozilla Public License 2.0
195 stars 7 forks source link

Conditional type grammar support missing #16

Open EoinDavey opened 4 years ago

EoinDavey commented 4 years ago

Current type specification for computed properties doesn't support typescript conditional types. This should be added

e.g.

T extends { test: string } ? number : boolean