score:0

export default function SecondElement<T extends string|number>( { type } : { type: T }, options : any ) {
    return options[type]
}

Related Query

More Query from same tag