Okta Sign-In Widget and Angular Tutorial not working

I did everything exactly like in the tutorial. When i try “ng serve” it gives me the following error:

error TS2416: Property ‘getValuesAfterProceed’ in type ‘EnrollPoll’ is not assignable to the same property in base type ‘Remediator’.

Type ‘() => unknown’ is not assignable to type ‘() => RemediationValues’.
Type ‘unknown’ is not assignable to type ‘RemediationValues’.

Change “strict”: true to “strict”: false, in the tsconfig.json file and that should do that trick. Don’t know why yet.