Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense

master
Brad Cornes 2021-07-07 12:37:07 +01:00
commit caa2ba1de8
1 changed files with 3 additions and 2 deletions

View File

@ -90,10 +90,11 @@ function validateConfigPath(
typeof value === 'number' ||
value instanceof String ||
value instanceof Number ||
Array.isArray(value)
Array.isArray(value) ||
typeof value === 'function'
)
) {
let reason = `'${pathToString(path)}' was found but does not resolve to a string.`
let reason = `'${pathToString(path)}' was found but does not resolve to a string, number, array or function.`
if (isObject(value)) {
let validKeys = Object.keys(value).filter(