We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4326e2c commit 3f75ea3Copy full SHA for 3f75ea3
compiler-core/src/javascript.rs
@@ -308,7 +308,7 @@ impl<'a> Generator<'a> {
308
// Handled in collect_definitions
309
Definition::CustomType(CustomType { .. }) => None,
310
311
- // If a custom type is unused then we don't need to generate code for it
+ // If a definition is unused then we don't need to generate code for it
312
Definition::ModuleConstant(ModuleConstant { location, .. })
313
| Definition::Function(Function { location, .. })
314
if self
0 commit comments