Skip to content

noImplicitGlobalVariables compiler option#1269

Merged
Perryvw merged 5 commits intoTypeScriptToLua:masterfrom
Zamiell:noImplicitGlobalVariables
May 28, 2022
Merged

noImplicitGlobalVariables compiler option#1269
Perryvw merged 5 commits intoTypeScriptToLua:masterfrom
Zamiell:noImplicitGlobalVariables

Conversation

@Zamiell
Copy link
Copy Markdown
Contributor

@Zamiell Zamiell commented May 7, 2022

Closes #1119.

Pretty self explanatory, tiny PR.

I guess I need to do website PR too?

`.expectToHaveNoDiagnostics();

const transpiledFile = builder.getLuaResult().transpiledFiles[0];
util.assert(transpiledFile !== undefined);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These asserts should just be expect.toBeDefined()

`.expectToHaveNoDiagnostics();

const transpiledFile = builder.getLuaResult().transpiledFiles[0];
util.assert(transpiledFile !== undefined);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These asserts should just be expect.toBeDefined()

@Perryvw Perryvw merged commit 43d31d0 into TypeScriptToLua:master May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request - new compiler option - noImplicitGlobalVariables

2 participants