(inputString: string)
| 3 | import { OneCertificate } from '@/utiles/certificate'; |
| 4 | |
| 5 | function capitalizeFirstLetter(inputString: string): string { |
| 6 | if (inputString.length === 0) { |
| 7 | return inputString; |
| 8 | } |
| 9 | return inputString[0].toUpperCase() + inputString.slice(1); |
| 10 | } |
| 11 | |
| 12 | type GenerateCertificateProps = { |
| 13 | certificateDetails: OneCertificate; |
no outgoing calls
no test coverage detected