Optional omission of Typescript entrypoint (#8057)

This commit is contained in:
Max Burke
2023-08-20 10:28:47 +02:00
committed by GitHub
parent 48da238920
commit afafd206a3
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ class TsGenerator : public BaseGenerator {
bool generate() {
generateEnums();
generateStructs();
generateEntry();
if (!parser_.opts.ts_omit_entrypoint) { generateEntry(); }
if (!generateBundle()) return false;
return true;
}