model files .d.ts code example
Example: .d.ts vs .ts
*.ts
function displayMessage(message) {
alert(message);
}
*.d.ts
declare function displayMessage(message: string)
*.ts
function displayMessage(message) {
alert(message);
}
*.d.ts
declare function displayMessage(message: string)