Skip to content

Commit c7f8a06

Browse files
committed
update docusaurus
1 parent 8c34931 commit c7f8a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ Examples:
726726
UserRole['ADMINISTRATOR'] = 'administrator';
727727
})(UserRole || (UserRole = {}));
728728

729-
// ✅ Use literal types
729+
// ✅ Use literal types - Types are stripped during transpilation
730730
type UserRole = 'guest' | 'moderator' | 'administrator';
731731

732732
const isGuest = (role: UserRole) => role === 'guest';

0 commit comments

Comments
 (0)