diff --git a/docs/uts/class.md b/docs/uts/class.md index 270954845b5f96a659b6d39077fa7108cb96658a..06ae3e840b06b91e1d649822ece068004ada529d 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() { + + } +}) ```