message.js
function showMessage(message) {
alert(message);
}
message.d.ts
declare function showMessage(message: string);
DeclarationFiles.ts
showMessage("this is a message."); //Error: cannot find name 'showMessage'
包含无法找到错误。
如何解决错误?