1
Fork 0

remove unused condition

This commit is contained in:
Guillaume Gomez 2018-04-19 23:50:17 +02:00
parent d5eade2b94
commit d0e2d26ceb

View file

@ -1072,11 +1072,6 @@
type = matches[1].replace(/^const$/, 'constant');
query = query.substring(matches[0].length);
}
// In case we just get a '!' as input, we can assume that the user is looking for the
// `Never` primitive type.
if (raw === '!') {
query = 'Never';
}
return {
raw: raw,