Ad
  • Custom User Avatar

    No answer, closing.

  • Custom User Avatar

    I don't see that, and in Typescript your function should at least return a string, what do you mean "If you simply run the tests without changing anything"?

    This is the initial code:

    import { MORSE_CODE } from './preloaded';
    export function decodeMorse(morseCode: string): string {
      // your code here
    }
    

    And it's obvious it won't work and why.