Appearance
function reverseString(str): string;
Inverte uma string
string
String a ser invertida
A string invertida
import { reverseString } from 'example-lib'; const result = reverseString('hello'); console.log(result); // olleh