What is the difference between these snippets and what is the usage of declare?
1)
declare function test();
2)
test(){
}
What is the difference between these snippets and what is the usage of declare?
1)
declare function test();
2)
test(){
}