From d38bfccfb7d2cc6b37a17da696338ba6a69fb3e8 Mon Sep 17 00:00:00 2001 From: betavs <34408516+betavs@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:57:05 +0800 Subject: [PATCH] fix(toast): type declaration exception (#372) --- src/toast/type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toast/type.ts b/src/toast/type.ts index 0722f7a9..da6250e5 100644 --- a/src/toast/type.ts +++ b/src/toast/type.ts @@ -39,5 +39,5 @@ export interface TdToastProps { /** * 防止滚动穿透 */ - preventScrollThrough: boolean; + preventScrollThrough?: boolean; }