From fdaa7104990a6b55194f7e5da02ec8330d4ff6b9 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 26 Sep 2024 15:22:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20IJsonStringify=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uts-tests/utssdk/JSON.uts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uni_modules/uts-tests/utssdk/JSON.uts b/uni_modules/uts-tests/utssdk/JSON.uts index 5be1bc4..aecf8c4 100644 --- a/uni_modules/uts-tests/utssdk/JSON.uts +++ b/uni_modules/uts-tests/utssdk/JSON.uts @@ -50,31 +50,31 @@ class A1 implements IJsonStringify{ } class A2 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return 2 } } class A3 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return "json" } } class A4 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return null } } class A5 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return new A1() } } class A6 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return new A5() } } -- GitLab