diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/vim9class.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt index 53b72fc062..91d9e5ec9a 100644 --- a/runtime/doc/vim9class.txt +++ b/runtime/doc/vim9class.txt @@ -749,7 +749,9 @@ type alias. For Example: > :type ListOfStrings = list<string> The type alias can be used wherever a built-in type can be used. The type -alias name must start with an upper case character. +alias name must start with an upper case character. A type alias can be +created only at the script level and not inside a function. A type alias can +be exported and used across scripts. ============================================================================== |