import { Plural } from '../types' ; export function pluralize < T extends string > ( str ) { return `${ str }s` ; } export function depluralize < T extends string > ( str ) { return str . slice ( 0 , - 1 ) as T ; }