diff --git a/index.js b/index.js index c0a88f3..9cf9fa0 100644 --- a/index.js +++ b/index.js @@ -79,6 +79,10 @@ function formatType(node, getHref) { return [t('null')]; case Syntax.VoidLiteral: return [t('void')]; + case 'StringLiteral': // Does not appear to be exported in doctrine.Syntax + return [t(JSON.stringify(node.name))]; + case 'NumberLiteral': // Does not appear to be exported in doctrine.Syntax + return [t(JSON.stringify(node.name))]; case Syntax.UndefinedLiteral: return [link('undefined', getHref)]; case Syntax.NameExpression: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy