samccone / twinkie

A polymer(1)&&(2) template parser + interface printer
Apache License 2.0
5 stars 5 forks source link

figure out a way to deal with nested objects that can be null #2

Open samccone opened 6 years ago

samccone commented 6 years ago

Some automatic codegen paths generate the following types... which cause template check to not be happy.

type Z {
  tap: string
}|null|undefined

<p>[[z.tap]]</p>
rictic commented 6 years ago

This seems to be fixed at master.