fix tests #41
Annotations
12 errors and 11 warnings
Install Packages
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '../../diagram-api/types.js'?
|
Install Packages
Type '{ box: Box | undefined; name: string; description: string; wrap: boolean; prevActor: string | undefined; links: {}; properties: {}; actorCnt: null; rectData: null; type: string; }' is missing the following properties from type 'Actor': stopx, stopy, height, startx, and 4 more.
|
Install Packages
Type 'Record<string, unknown>' is not assignable to type 'Record<string, string>'.
|
Install Packages
Type 'unknown' is not assignable to type 'string'.
|
Install Packages
Parameter 'elem' implicitly has an 'any' type.
|
Install Packages
Parameter 'actor' implicitly has an 'any' type.
|
Install Packages
Parameter 'conf' implicitly has an 'any' type.
|
Install Packages
Parameter 'isFooter' implicitly has an 'any' type.
|
Install Packages
Parameter 'elem' implicitly has an 'any' type.
|
Install Packages
Parameter 'actor' implicitly has an 'any' type.
|
Verify `./src/config.type.ts` is in sync with `./src/schemas/config.schema.yaml`
Running `pnpm run --filter mermaid types:verify-config` failed. This should be fixed by running `pnpm run --filter mermaid types:build-config` on your local machine.
|
Verify `./src/config.type.ts` is in sync with `./src/schemas/config.schema.yaml`
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Linting:
packages/mermaid-example-diagram/src/types/index.d.ts#L5
Unexpected any. Specify a different type
|
Run Linting:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L67
'vertexNode' is defined but never used
|
Run Linting:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L191
'svgLabel' is assigned a value but never used
|
Run Linting:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L397
Expected @param names to be "edges, diagObj, graph, svg". Got "edges, g, cy, diagObj, graph, svg"
|
Run Linting:
packages/mermaid-flowchart-elk/src/flowRenderer-elk.js#L680
Expected @param names to be "nodeArray, parentLookupDb". Got "graph, nodeArray, parentLookupDb"
|
Run Linting:
packages/mermaid-zenuml/src/mermaidUtils.ts#L34
Unexpected any. Specify a different type
|
Run Linting:
packages/mermaid-zenuml/src/mermaidUtils.ts#L35
Unexpected any. Specify a different type
|
Run Linting:
packages/mermaid-zenuml/src/mermaidUtils.ts#L36
Unexpected any. Specify a different type
|
Run Linting:
packages/mermaid-zenuml/src/mermaidUtils.ts#L42
Unexpected any. Specify a different type
|
Run Linting:
packages/mermaid-zenuml/src/mermaidUtils.ts#L43
Unexpected any. Specify a different type
|
Loading