From 1866b04ef235939bd6b91bf9a41abdfebbba7623 Mon Sep 17 00:00:00 2001 From: "taohebin@dcloud.io" Date: Thu, 16 May 2024 11:06:05 +0800 Subject: [PATCH] Update class.md --- docs/uts/class.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/uts/class.md b/docs/uts/class.md index 27095484..06ae3e84 100644 --- a/docs/uts/class.md +++ b/docs/uts/class.md @@ -494,11 +494,11 @@ class Test { #### kotlin 平台匿名内部类写法 -``` - const runnable = new (class implements Runnable { - override run() { - - } - }) +```ts +const runnable = new (class implements Runnable { + override run() { + + } +}) ``` -- GitLab