hasura/learn-graphql

function signature and usage missmatch

Xapuu opened this issue · 1 comments

Xapuu commented

When building the /tutorials/frontend/angular-apollo/app-boilerplate/ project an error occurs in the following template template Auth0Wrapper

Steps to reproduce

run npm start

log

ERROR in src/app/Auth/Auth0Wrapper.template.html:2:55 - error TS2554: Expected 0
 arguments, but got 1.

2 <Login *ngIf="!isAuthenticated" (loginHandler)="login($event)"></Login>
                                                        ~~~~~~

  src/app/Auth/Auth0Wrapper.ts:8:16
    8   templateUrl: './Auth0Wrapper.template.html',
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error occurs in the template of component Auth0Wrapper.

Xapuu commented

I will fix that and make a PR