Skip to content

✨ feat: 为 Highlight 组件添加外层 wrapper 模式 #608

✨ feat: 为 Highlight 组件添加外层 wrapper 模式

✨ feat: 为 Highlight 组件添加外层 wrapper 模式 #608

Triggered via pull request October 31, 2023 08:26
Status Failure
Total duration 1m 45s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
test: src/Highlight/demos/basic.tsx#L8
Property 'containerWrapper' is missing in type '{ children: string; language: string; theme: "dark"; onCopy: (children: any) => void; }' but required in type '{ containerWrapper: boolean; }'.
test: src/Highlight/demos/lineNumber.tsx#L8
Property 'containerWrapper' is missing in type '{ children: string; lineNumber: true; onCopy: (children: any) => void; language: string; }' but required in type '{ containerWrapper: boolean; }'.
test: src/Highlight/demos/theme.tsx#L69
Property 'containerWrapper' is missing in type '{ children: any; language: "json"; theme: "dark" | "light"; lineNumber: boolean; type: "pure" | "block"; }' but required in type '{ containerWrapper: boolean; }'.
test: src/ProBuilder/components/Code/index.tsx#L87
Property 'containerWrapper' is missing in type '{ children: string; theme: "dark" | "light"; lineNumber: true; language: string; style: { height: string; }; onCopy: (children: any) => void; }' but required in type '{ containerWrapper: boolean; }'.
test
Process completed with exit code 1.