Ad
  • Custom User Avatar

    My code seems fine but when I run it, this statement is returned:

    TSError: ⨯ Unable to compile TypeScript: test.ts:32:11 - error TS2322: Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. 32 let ue:string = likes(NA)

    I don't have any variable called ue so I think there might be an issue with the test cases.
    Can anyone please help?
    Thanks