Skip to content

Commit eb628a5

Browse files
committed
fix lint
1 parent dffdff7 commit eb628a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/checker/checker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10395,7 +10395,7 @@ func (c *Checker) checkReflectCollision(node *ast.Node) {
1039510395

1039610396
func (c *Checker) checkClassNameCollisionWithObject(name *ast.Node) {
1039710397
if name.Text() == "Object" && c.program.GetEmitModuleFormatOfFile(ast.GetSourceFileOfNode(name)) < core.ModuleKindES2015 {
10398-
c.error(name, diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0, core.ModuleKind(c.moduleKind).String())
10398+
c.error(name, diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_and_above_with_module_0, c.moduleKind.String())
1039910399
}
1040010400
}
1040110401

0 commit comments

Comments
 (0)