From 5d2c83501277ad38db8d892e78fcc35d96f9c2fa Mon Sep 17 00:00:00 2001 From: Soonil Hong Date: Fri, 10 Jan 2025 00:23:16 -0500 Subject: [PATCH] Rename for consistent example snippet `User` has `admin` property in other example snippets so as in the playground --- packages/documentation/copy/en/handbook-v2/More on Functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/documentation/copy/en/handbook-v2/More on Functions.md b/packages/documentation/copy/en/handbook-v2/More on Functions.md index 25c86ba2e423..525f3cd1a6a9 100644 --- a/packages/documentation/copy/en/handbook-v2/More on Functions.md +++ b/packages/documentation/copy/en/handbook-v2/More on Functions.md @@ -601,7 +601,7 @@ This pattern is common with callback-style APIs, where another object typically // @errors: 7041 7017 interface User { id: number; - isAdmin: boolean; + admin: boolean; } declare const getDB: () => DB; // ---cut---