File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ namespace ts {
71
71
// Literals
72
72
73
73
/** If a node is passed, creates a string literal whose source text is read from a source node during emit. */
74
- export function createLiteral ( value : string | StringLiteral | NumericLiteral | Identifier ) : StringLiteral ;
74
+ export function createLiteral ( value : string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier ) : StringLiteral ;
75
75
export function createLiteral ( value : number ) : NumericLiteral ;
76
76
export function createLiteral ( value : boolean ) : BooleanLiteral ;
77
77
export function createLiteral ( value : string | number | boolean ) : PrimaryExpression ;
78
- export function createLiteral ( value : string | number | boolean | StringLiteral | NumericLiteral | Identifier ) : PrimaryExpression {
78
+ export function createLiteral ( value : string | number | boolean | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier ) : PrimaryExpression {
79
79
if ( typeof value === "number" ) {
80
80
return createNumericLiteral ( value + "" ) ;
81
81
}
You can’t perform that action at this time.
0 commit comments