/* @flow */
import customProperty from 'fela-plugin-custom-property'
import arrayReduce from 'fast-loops/lib/arrayReduce'

export default function pseudoPrefixer(pseudoSelector, prefixes) {
  return customProperty({
    [pseudoSelector]: value =>
      arrayReduce(
        prefixes,
        (style, prefix) => {
          style[prefix] = value
          return style
        },
        {}
      ),
  })
}

@@ -155,16 +155,19 @@
 refixer(
+%0A  
 pseudoSe
@@ -176,18 +176,44 @@
 ctor
-, prefixes
+: string,%0A  prefixes: Array%3Cstring%3E%0A
 ) %7B%0A

add types