From b75bfb2bfe95f5a06c867c246848918925a35371 Mon Sep 17 00:00:00 2001 From: Ron Tseytlin <40004112+steveRoll-git@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:35:27 +0300 Subject: [PATCH] Document multiple inheritance in `@class` --- src/content/wiki/annotations.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/wiki/annotations.mdx b/src/content/wiki/annotations.mdx index bc039ef..863c747 100644 --- a/src/content/wiki/annotations.mdx +++ b/src/content/wiki/annotations.mdx @@ -390,12 +390,12 @@ print(x) --> x:string? ### @class -Define a class. Can be used with [`@field`](#field) to define a table structure. Once a class is defined, it can be used as a type for [parameters](#param), [returns](#return), and more. A class can also inherit from a parent class. Marking the class as `(exact)` means fields cannot be injected after the definition. +Define a class. Can be used with [`@field`](#field) to define a table structure. Once a class is defined, it can be used as a type for [parameters](#param), [returns](#return), and more. A class can also inherit one or more parent classes. Marking the class as `(exact)` means fields cannot be injected after the definition. **Syntax**
-`---@class [(exact)] [: ]` +`---@class [(exact)] [: [, ...]]`
**Examples**