Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense
commit
caa2ba1de8
|
@ -90,10 +90,11 @@ function validateConfigPath(
|
||||||
typeof value === 'number' ||
|
typeof value === 'number' ||
|
||||||
value instanceof String ||
|
value instanceof String ||
|
||||||
value instanceof Number ||
|
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)) {
|
if (isObject(value)) {
|
||||||
let validKeys = Object.keys(value).filter(
|
let validKeys = Object.keys(value).filter(
|
||||||
|
|
Loading…
Reference in New Issue