Skip to content

Commit

Permalink
add import scala.language.implicitConversions (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou authored Jun 7, 2024
1 parent 0c0eab6 commit f95ab26
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/neat-beds-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"scalawind": patch
---

add import scala.language.implicitConversions
1 change: 1 addition & 0 deletions packages/scalawind/src/generate/templates/scalawind.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package {{packageName}}

import scala.quoted.*
import scala.annotation.unused
import scala.language.implicitConversions
{{#if laminar}}
import com.raquo.laminar.api.L.cls

Expand Down
1 change: 1 addition & 0 deletions packages/scalawind/tests/cases/basic/expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package scalawind

import scala.quoted.*
import scala.annotation.unused
import scala.language.implicitConversions
import japgolly.scalajs.react.vdom.html_<^.*

object clx:
Expand Down
1 change: 1 addition & 0 deletions packages/scalawind/tests/cases/full/expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package scalawind

import scala.quoted.*
import scala.annotation.unused
import scala.language.implicitConversions
import com.raquo.laminar.api.L.cls

object clx:
Expand Down

0 comments on commit f95ab26

Please sign in to comment.