diff --git a/src/nodes/typeGuards/compound.ts b/src/nodes/typeGuards/compound.ts index 595ead85..ff0b19e6 100644 --- a/src/nodes/typeGuards/compound.ts +++ b/src/nodes/typeGuards/compound.ts @@ -140,14 +140,13 @@ export function isNamespaceDeclaration( } /** - * A number or sting literal (including string literals declare with \`\` quotes). + * A number or string-like literal. * * @category Node Types */ export type NumericOrStringLikeLiteral = | ts.NumericLiteral - | ts.StringLiteral - | ts.NoSubstitutionTemplateLiteral; + | ts.StringLiteralLike; /** * Test if a node is a {@link NumericOrStringLikeLiteral}.