throw a type error if values only
allow empty partials
Merge pull request #6 from Raynos/values-only-warning

throw a type error if values only