Skip to content

Commit

Permalink
fix(typings): sourcesContent may contain null (#235)
Browse files Browse the repository at this point in the history
Fixes undefined
  • Loading branch information
AriPerkkio committed Jan 20, 2023
1 parent f90bf6d commit c2b652a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Expand Up @@ -35,7 +35,7 @@ export type SourceMapSegment =
export interface DecodedSourceMap {
file: string;
sources: string[];
sourcesContent: string[];
sourcesContent: (string | null)[];
names: string[];
mappings: SourceMapSegment[][];
}
Expand All @@ -46,7 +46,7 @@ export class SourceMap {
version: number;
file: string;
sources: string[];
sourcesContent: string[];
sourcesContent: (string | null)[];
names: string[];
mappings: string;

Expand Down

0 comments on commit c2b652a

Please sign in to comment.