Skip to content

Commit ec817f5

Browse files
committed
Fix unnecessary union
1 parent 399f987 commit ec817f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2632,7 +2632,7 @@ namespace ts {
26322632
export function createUnparsedSourceFile(text: string): UnparsedSource;
26332633
export function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts"): UnparsedSource;
26342634
export function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
2635-
export function createUnparsedSourceFile(textOrInputFiles: string | InputFiles, mapPathOrType?: string | "js" | "dts", map?: string): UnparsedSource {
2635+
export function createUnparsedSourceFile(textOrInputFiles: string | InputFiles, mapPathOrType?: string, map?: string): UnparsedSource {
26362636
const node = <UnparsedSource>createNode(SyntaxKind.UnparsedSource);
26372637
if (!isString(textOrInputFiles)) {
26382638
Debug.assert(mapPathOrType === "js" || mapPathOrType === "dts");

0 commit comments

Comments
 (0)