slidev-theme-comfy
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -78,2 +78,10 @@ --- | ||
``` | ||
Hello | ||
```ts | ||
function updateUser(id: number, update: Partial<User>) { | ||
const user = getUser(id) | ||
const newUser = { ...user, ...update } | ||
saveUser(id, newUser) | ||
} | ||
``` | ||
@@ -80,0 +88,0 @@ --- |
{ | ||
"name": "slidev-theme-comfy", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "slidev-theme", |
Sorry, the diff of this file is not supported yet
762429