Skip to content

Commit

Permalink
type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jan 6, 2022
1 parent fea5f4b commit e9fd612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/collapseSourcemaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Link {
const sources: string[] = [];
const sourcesContent: string[] = [];
const names: string[] = [];
const nameIndexMap: Map<string, number> = new Map();
const nameIndexMap = new Map<string, number>();

const mappings = [];

Expand Down Expand Up @@ -147,7 +147,7 @@ class Link {
}

function getLinkMap(warn: WarningHandler) {
return function linkMap(source: Source | Link, map: DecodedSourceMapOrMissing) {
return function linkMap(source: Source | Link, map: DecodedSourceMapOrMissing): Link {
if (map.mappings) {
return new Link(map, [source]);
}
Expand Down

0 comments on commit e9fd612

Please sign in to comment.