Skip to content

Commit c2b652a

Browse files
authoredJan 20, 2023
fix(typings): sourcesContent may contain null (#235)
Fixes undefined
1 parent f90bf6d commit c2b652a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export type SourceMapSegment =
3535
export interface DecodedSourceMap {
3636
file: string;
3737
sources: string[];
38-
sourcesContent: string[];
38+
sourcesContent: (string | null)[];
3939
names: string[];
4040
mappings: SourceMapSegment[][];
4141
}
@@ -46,7 +46,7 @@ export class SourceMap {
4646
version: number;
4747
file: string;
4848
sources: string[];
49-
sourcesContent: string[];
49+
sourcesContent: (string | null)[];
5050
names: string[];
5151
mappings: string;
5252

0 commit comments

Comments
 (0)
Please sign in to comment.