typescript-to-lua 1.31.3 → 1.31.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,7 +95,8 @@ function getFileAnnotations(sourceFile) {
|
|
|
95
95
|
function getTagArgsFromComment(tag) {
|
|
96
96
|
if (tag.comment) {
|
|
97
97
|
if (typeof tag.comment === "string") {
|
|
98
|
-
|
|
98
|
+
const firstLine = tag.comment.split("\n")[0];
|
|
99
|
+
return firstLine.trim().split(" ");
|
|
99
100
|
}
|
|
100
101
|
else {
|
|
101
102
|
return tag.comment.map(part => part.text);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-to-lua",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.4",
|
|
4
4
|
"description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!",
|
|
5
5
|
"repository": "https://github.com/TypeScriptToLua/TypeScriptToLua",
|
|
6
6
|
"homepage": "https://typescripttolua.github.io/",
|