lifeart/els-addon-typed-templates

Support for ember-named-blocks-polyfill

Opened this issue · 1 comments

Hi, is there any plan for support ember-named-blocks-polyfill?

Hi @candunaj! Yes, it's possible to implement

<Component>
    <:header as |name|>
      {{name}}
    </header>
</Component>

should work with transform like

class Component {
    headerYieldBody(params) {
      return params;
    }
}

https://github.com/lifeart/els-addon-typed-templates/pull/26/files#diff-429c6456190981930798514ee153566a2c1edd3cee81b5f851ceb6cee935d76eR364

I will check scope for it