youfoundjk_TeXcore/tsc_errors_utf8.txt
2026-06-04 20:12:07 +02:00

59 lines
6.9 KiB
Text

src/features/export-pdf/modal.ts(68,3): error TS2564: Property 'callback' has no initializer and is not definitely assigned in the constructor.
src/features/export-pdf/modal.ts(72,3): error TS2564: Property 'previewDiv' has no initializer and is not definitely assigned in the constructor.
src/features/export-pdf/modal.ts(75,3): error TS2564: Property 'title' has no initializer and is not definitely assigned in the constructor.
src/features/export-pdf/modal.ts(76,3): error TS2564: Property 'frontMatter' has no initializer and is not definitely assigned in the constructor.
src/features/export-pdf/modal.ts(258,55): error TS2345: Argument of type '(sizeEl: HTMLDivElement) => void' is not assignable to parameter of type '(value: Element, key: number, parent: NodeListOf<Element>) => void'.
Types of parameters 'sizeEl' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLDivElement': align, accessKey, accessKeyLabel, autocapitalize, and 147 more.
src/features/export-pdf/render.ts(261,46): error TS2345: Argument of type '(el: HTMLAnchorElement) => void' is not assignable to parameter of type '(value: HTMLElement, index: number, array: HTMLElement[]) => void'.
Types of parameters 'el' and 'value' are incompatible.
Type 'HTMLElement' is missing the following properties from type 'HTMLAnchorElement': charset, coords, download, hreflang, and 21 more.
src/features/export-pdf/render.ts(299,17): error TS2345: Argument of type '(span: HTMLElement) => string' is not assignable to parameter of type '(value: Element, index: number, array: Element[]) => void'.
Types of parameters 'span' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, autocorrect, and 146 more.
src/features/export-pdf/utils.ts(9,3): error TS2564: Property 'parent' has no initializer and is not definitely assigned in the constructor.
src/features/export-pdf/utils.ts(32,20): error TS2345: Argument of type '(heading: HTMLElement) => void' is not assignable to parameter of type '(value: Element, key: number, parent: NodeListOf<Element>) => void'.
Types of parameters 'heading' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, autocorrect, and 146 more.
src/features/export-pdf/utils.ts(60,58): error TS2345: Argument of type '(heading: HTMLElement, i: number) => void' is not assignable to parameter of type '(value: Element, key: number, parent: NodeListOf<Element>) => void'.
Types of parameters 'heading' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, autocorrect, and 146 more.
src/features/export-pdf/utils.ts(79,51): error TS2345: Argument of type '(el: HTMLAnchorElement, i: number) => void' is not assignable to parameter of type '(value: Element, key: number, parent: NodeListOf<Element>) => void'.
Types of parameters 'el' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLAnchorElement': charset, coords, download, hreflang, and 171 more.
src/features/linker/live-preview-link-renderer.ts(111,7): error TS2564: Property 'decorations' has no initializer and is not definitely assigned in the constructor.
src/features/tikz/row-layout.ts(177,45): error TS2345: Argument of type '(el: HTMLElement) => void' is not assignable to parameter of type '(value: Element, key: number, parent: NodeListOf<Element>) => void'.
Types of parameters 'el' and 'value' are incompatible.
Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, autocorrect, and 146 more.
src/main.ts(52,3): error TS2564: Property 'editorExtensions' has no initializer and is not definitely assigned in the constructor.
src/main.ts(54,3): error TS2564: Property 'snippetManager' has no initializer and is not definitely assigned in the constructor.
src/main.ts(55,3): error TS2564: Property 'customNoteManager' has no initializer and is not definitely assigned in the constructor.
src/main.ts(56,3): error TS2564: Property 'tikzRenderer' has no initializer and is not definitely assigned in the constructor.
src/main.ts(81,7): error TS2322: Type '(editor: Editor, view: MarkdownView) => void' is not assignable to type '(editor: Editor, ctx: MarkdownView | MarkdownFileInfo) => any'.
Types of parameters 'view' and 'ctx' are incompatible.
Type 'MarkdownView | MarkdownFileInfo' is not assignable to type 'MarkdownView'.
Type 'MarkdownFileInfo' is missing the following properties from type 'MarkdownView': previewMode, currentMode, getViewType, getMode, and 39 more.
src/main.ts(89,7): error TS2322: Type '(editor: Editor, view: MarkdownView) => void' is not assignable to type '(editor: Editor, ctx: MarkdownView | MarkdownFileInfo) => any'.
Types of parameters 'view' and 'ctx' are incompatible.
Type 'MarkdownView | MarkdownFileInfo' is not assignable to type 'MarkdownView'.
Type 'MarkdownFileInfo' is missing the following properties from type 'MarkdownView': previewMode, currentMode, getViewType, getMode, and 39 more.
src/main.ts(135,29): error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '"file-menu"' is not assignable to parameter of type '"quit"'.
src/main.ts(154,29): error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '"file-menu"' is not assignable to parameter of type '"quit"'.
src/main.ts(201,42): error TS2345: Argument of type 'typeof LinkAutocomplete' is not assignable to parameter of type 'new (...args: unknown[]) => Suggester<EquationBlock>'.
Types of construct signatures are incompatible.
Type 'new (plugin: LatexReferencer) => LinkAutocomplete' is not assignable to type 'new (...args: unknown[]) => Suggester<EquationBlock>'.
Types of parameters 'plugin' and 'args' are incompatible.
Type 'unknown' is not assignable to type 'LatexReferencer'.
src/main.ts(202,42): error TS2345: Argument of type 'typeof MathSearchModal' is not assignable to parameter of type 'new (...args: unknown[]) => Suggester<EquationBlock>'.
Types of construct signatures are incompatible.
Type 'new (plugin: LatexReferencer) => MathSearchModal' is not assignable to type 'new (...args: unknown[]) => Suggester<EquationBlock>'.
Types of parameters 'plugin' and 'args' are incompatible.
Type 'unknown' is not assignable to type 'LatexReferencer'.
src/main.ts(284,33): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
src/main.ts(294,33): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
src/main.ts(301,27): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
[ELIFECYCLE] Command failed with exit code 2.