From e8f69c1e5d78d790f7cf3626fec3327502632466 Mon Sep 17 00:00:00 2001 From: liuweigl Date: Mon, 28 Jun 2021 15:07:25 +0800 Subject: [PATCH] feat(json-schema): schema support custom property --- packages/json-schema/src/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/json-schema/src/types.ts b/packages/json-schema/src/types.ts index 5e893fc2c0e..202215ca634 100644 --- a/packages/json-schema/src/types.ts +++ b/packages/json-schema/src/types.ts @@ -268,4 +268,6 @@ export type ISchema< ['x-read-only']?: boolean ['x-read-pretty']?: boolean + + [key: `x-${string | number}`]: any }>