Overload signatures must all be ambient or non-ambient in TypeScript

Viewed 5506

Here's code.

filename is common.ts

module common{

        export function commonInit(){

            return true;
        }
}

when i build eclipse Ant, it becomes

"Error TS2384: Overload signatures must all be ambient or non-ambient.".

Can anybody explain how to solve that error.

1 Answers
Related