feat: json editor #269
Annotations
2 errors and 1 warning
nodepkg/typedef/src/encoding/__tests__/index.spec.ts#L82
Expected:
"
export type Type = ({
"strOrInt": /* @type:union */ StrOrInt,
"placement": "leading" | "trailing",
"inputType"?: /* @type:enums */ InputType,
"keyValues"?: { [k: string]: any },
"array": Array<boolean>,
"point": [number, number],
} & ({
"type": "text",
} | {
"type": "select",
"options": Array<{
"label": string,
"value": string,
}>,
}))
export type StrOrInt = (string | number)
export enum InputType {
text = "text",
number = "number",
select = "select"
}
export const displayInputType = (v: InputType) => {
return ({
",
",
"
})[v] ?? v
}"
Received:
"
export type Type = ({
"strOrInt": /* @type:union */ StrOrInt,
"placement": "leading" | "trailing",
"inputType"?: /* @type:enums */ InputType,
"keyValues"?: { [k: string]: any },
"array": Array<boolean>,
"point": [number, number],
} & ({
"type": "text",
} | {
"type": "select",
"options": Array<{
"label": string,
"value": string,
}>,
}))
export type StrOrInt = (string | number)
export enum InputType {
text = "text",
number = "number",
select = "select"
}
export const displayInputType = (v: InputType) => {
return ({
",
",
"
})[v] ?? v
}"
at /home/runner/work/vuekit/vuekit/nodepkg/typedef/src/encoding/__tests__/index.spec.ts:82:20
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
The logs for this run have expired and are no longer available.
Loading