#2028 Adding legacy code #13444
Annotations
20 errors and 1 warning
Install Packages
Cannot find module './flowDb.js' or its corresponding type declarations.
|
Install Packages
Cannot find module './types.js' or its corresponding type declarations.
|
Install Packages
Type '() => Promise<{ id: string; diagram: { db: any; renderer: { setConf: (cnf: any) => void; addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => void; addEdges: (edges: object, g: object, diagObj: any, svg: any) => void; getClasses: (text: any, diagObj: any) => Record<...>; draw: (text: an...' is not assignable to type 'DiagramLoader'.
|
Install Packages
Cannot find module '../flowDb.js' or its corresponding type declarations.
|
Install Packages
Cannot find module '../flowDb.js' or its corresponding type declarations.
|
Install Packages
Module '"../../../Diagram.js"' has no exported member 'getDiagramFromText'.
|
Install Packages
An import path can only end with a '.ts' extension when 'allowImportingTsExtensions' is enabled.
|
Install Packages
Variable 'root' implicitly has type 'any' in some locations where its type cannot be determined.
|
Install Packages
Variable 'doc' implicitly has type 'any' in some locations where its type cannot be determined.
|
Install Packages
Cannot find name 'select'. Did you mean 'onselect'?
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L499
Unknown word: "NODECOUNT"
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L500
Unknown word: "topdown"
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L530
Unknown word: "RIGHTDOWN"
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L567
'count' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L639
'copy' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L640
Unexpected console statement
|
Run Linting:
packages/mermaid-layout-elk/src/render.ts#L642
Unexpected console statement
|
Run Linting:
packages/mermaid/src/diagram-api/detectType.ts#L42
Unexpected console statement
|
Run Linting:
packages/mermaid/src/diagrams/swimlane/lost-and-found/detector.ts#L10
'config' is defined but never used. Allowed unused args must match /^_/u
|
Run Linting:
packages/mermaid/src/diagrams/swimlane/lost-and-found/detector.ts#L11
Use the `RegExp#exec()` method instead
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading