63
rated 0 times
[
65]
[
2]
/ answers: 1 / hits: 30487
/ 12 Years ago, fri, october 26, 2012, 12:00:00
I have the following function in a file:
function alertWin(title, message) {
.......
.......
}
In another typescript file I have:
function mvcOnFailure(message) {
use strict;
alertWin(Internal Application Error, message);
}
I am getting an error saying alertwin does not exist in the current scope.
Is the way to solve this for me to define this function in another file and then reference that? If so then what would the definition look like?
More From » typescript