File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- import { TemplateLiteralPair } from './src/transform-inline/visitor-utils' ;
2-
31/**
42 * Checks if the given argument is assignable to the given type-argument.
53 *
@@ -260,6 +258,8 @@ interface ExpectedNull {
260258 type : 'null' ;
261259}
262260
261+ type TemplateLiteralPair = [ string , 'string' | 'number' | 'bigint' | 'any' | 'undefined' | 'null' | undefined ] ;
262+
263263interface ExpectedTemplateLiteral {
264264 type : 'template-literal'
265265 value : TemplateLiteralPair [ ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { Reason } from '../../index';
88 * a pair of {@link ts.TemplateLiteralType.texts} and the `intrinsicName`s for {@link ts.TemplateLiteralType.types},
99 * @see https://github.com/microsoft/TypeScript/pull/40336
1010 */
11- export type TemplateLiteralPair = [ string , 'string' | 'number' | 'bigint' | 'any' | 'undefined' | 'null' | undefined ]
11+ export type TemplateLiteralPair = [ string , 'string' | 'number' | 'bigint' | 'any' | 'undefined' | 'null' | undefined ] ;
1212
1313export const objectIdentifier = ts . createIdentifier ( 'object' ) ;
1414export const pathIdentifier = ts . createIdentifier ( 'path' ) ;
You can’t perform that action at this time.
0 commit comments