型変換

by s_hiroshi

JavaScript

function showString(str: string) {
    console.log(str);
}

showString('abc');