Can you add these assertions?
```js
namedTypes.Literal.assert(n);
isString.assert(n.value);
```