@defold-typescript/types 0.29.0 → 0.30.0
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.
package/package.json
CHANGED
package/scripts/regen.ts
CHANGED
|
@@ -699,7 +699,10 @@ export function generateVersionIndex(
|
|
|
699
699
|
]
|
|
700
700
|
.map((module) => `import "./${module}";`)
|
|
701
701
|
.join("\n");
|
|
702
|
-
|
|
702
|
+
// A pinned consumer names this surface in `types` and never loads the
|
|
703
|
+
// package entrypoint, so the stdlib directives have to lead here too. A
|
|
704
|
+
// runtime surface is LuaJIT, so it takes both lines.
|
|
705
|
+
return `${LUA_STDLIB_REFERENCES}${imports}\n\nexport {};\n`;
|
|
703
706
|
}
|
|
704
707
|
|
|
705
708
|
// The `src/`-relative prefix a kind index living in `<generatedDir>/kinds/` needs
|