We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6af233 commit 5160ae9Copy full SHA for 5160ae9
src/LoggerHelper.ts
@@ -222,7 +222,7 @@ export class LoggerHelper {
222
public static _getCodeFrame(
223
filePath: string,
224
lineNumber: number,
225
- columnNumber: number | undefined,
+ columnNumber: number | null,
226
linesBeforeAndAfter: number
227
): ICodeFrame | undefined {
228
const lineNumberMinusOne: number = lineNumber - 1;
src/interfaces.ts
@@ -386,7 +386,7 @@ export interface IHighlightStyles {
386
export interface ICodeFrame {
387
firstLineNumber: number;
388
lineNumber: number;
389
- columnNumber: number | undefined;
+ columnNumber: number | null;
390
linesBefore: string[];
391
relevantLine: string;
392
linesAfter: string[];
0 commit comments