Lint again #137
Annotations
6 errors
npm test:
src/renderer/editor/HighlightedCode.tsx#L18
'?' at the end of a type is not valid TypeScript syntax. Did you mean to write 'number | undefined'?
|
npm test:
src/renderer/editor/HighlightedCode.tsx#L31
Object is possibly 'null'.
|
npm test:
src/renderer/editor/HighlightedCode.tsx#L34
Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
npm test:
src/renderer/editor/addEditorTooltips.tsx#L30
Property 'code' is missing in type '{ children: string; dest: string; }' but required in type '{ dest: string; code: boolean; children: string; }'.
|
npm test:
src/renderer/editor/addEditorTooltips.tsx#L37
Property 'indent' is missing in type '{ children: string; }' but required in type '{ children: string; indent: number | null; }'.
|
npm test
Process completed with exit code 2.
|
Loading