Having trouble referencing and using exported methods from another module. I keep getting an error that says 'There is no exported member in SecondModule'.
module FirstModule{
export class someClass{
constructor(method: SecondModule.exMethod) //Error occurs here: 'There is no exported member in SecondModule'
{}
}
}
module SecondModule{
export function exMethod(){
return function(input){
//perform some actions
return result;
}
}
}