diff --git a/components/result/__tests__/__snapshots__/demo.test.js.snap b/components/result/__tests__/__snapshots__/demo.test.js.snap
index 3268f0800..fbcd0e50d 100644
--- a/components/result/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/result/__tests__/__snapshots__/demo.test.js.snap
@@ -35,7 +35,6 @@ exports[`renders ./components/result/demo/customIcon.md correctly 1`] = `
Great, we have done all the operations!
-
`;
@@ -70,7 +69,6 @@ exports[`renders ./components/result/demo/info.md correctly 1`] = `
Your operation has been executed
-
`;
@@ -92,7 +90,6 @@ exports[`renders ./components/result/demo/warning.md correctly 1`] = `
There are some problems with your operation.
-
`;
diff --git a/components/result/demo/403.md b/components/result/demo/403.md
index d1606da22..88d86d9f1 100644
--- a/components/result/demo/403.md
+++ b/components/result/demo/403.md
@@ -8,7 +8,7 @@
you are not authorized to access this page.
-```html
+```tpl
-```html
+```tpl
-```html
+```tpl
-```html
+```tpl
diff --git a/components/result/demo/error.md b/components/result/demo/error.md
index 1293cb2be..5d440f7bb 100644
--- a/components/result/demo/error.md
+++ b/components/result/demo/error.md
@@ -8,7 +8,7 @@
Complex error feedback.
-```html
+```tpl
-```html
+```tpl
diff --git a/components/result/demo/success.md b/components/result/demo/success.md
index 414dab18f..f11d77abe 100644
--- a/components/result/demo/success.md
+++ b/components/result/demo/success.md
@@ -8,7 +8,7 @@
Show successful results.
-```html
+```tpl
-```html
+```tpl
diff --git a/types/ant-design-vue.d.ts b/types/ant-design-vue.d.ts
index 97f69d428..5b3deaf84 100644
--- a/types/ant-design-vue.d.ts
+++ b/types/ant-design-vue.d.ts
@@ -61,6 +61,7 @@ import { TimePicker } from './time-picker';
import { Timeline } from './timeline/timeline';
import { Tooltip } from './tootip/tooltip';
import { Upload } from './upload';
+import { Result } from './result';
/**
* Install all ant-design-vue components into Vue.
@@ -129,4 +130,5 @@ export {
Upload,
Drawer,
Skeleton,
+ Result,
};
diff --git a/types/result.d.ts b/types/result.d.ts
index 455de57c0..bf6effa62 100644
--- a/types/result.d.ts
+++ b/types/result.d.ts
@@ -5,14 +5,14 @@ export declare class Result extends AntdComponent {
* result title
* @type string
*/
- title: string;
+ title: any;
/**
* result sub title
*
* @type string
*/
- subTitle: string;
+ subTitle: any;
/**
* result status,decide icons and colors