From b29cdd910bd0cd3e71cd0f0f166ba30b469774d7 Mon Sep 17 00:00:00 2001 From: imlodinu Date: Mon, 21 Apr 2025 13:54:00 +0800 Subject: [PATCH] fix missing line --- docs/syntax-declaration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syntax-declaration.md b/docs/syntax-declaration.md index fa0896b..21b0fbc 100644 --- a/docs/syntax-declaration.md +++ b/docs/syntax-declaration.md @@ -10,7 +10,7 @@ RIght now the declaration syntax used by the luau parser is undocumented and an ## Design -Declaration syntax should only be usable in definition files. Definition files +Declaration syntax should only be usable in definition files. Definition files have the extension of `.d.luau` and are used to provide type information for modules. They should not be allowed to do anything beyond declaring type aliases and declarations. The declaration syntax mirrors the current syntax used by the luau parser. All declarations are prefixed with `declare`, and global variables, global functions, and classes are able to be declared.