add type signature to fileConfig