.TsIdentSimple(Anon_Exported) | |
TsIdentLibraryScoped(babel,Some(core)).TsIdentSimple(Anon_Exported) | |
typings.babelCore.Anon_Loc | |
TsIdentLibraryScoped(babel,Some(core)).TsIdentSimple(Anon_Loc) | |
TsIdentLibrarySimple(babel-core).TsIdentSimple(Anon_Loc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hello.world | |
import org.scalajs.dom.console | |
import slinky.core._ | |
import slinky.core.annotations.react | |
import slinky.core.facade.Hooks._ | |
import slinky.web.html._ | |
import typings.reactLib.reactMod.MouseEvent | |
import scala.scalajs.js |
Oh yes, you've noticed the long version strings - Good! If you didn't, they look like this:
libraryDependencies ++= Seq(
"com.olvind.scalablytyped" %%% "node" % "10.9.x-dt-20180910Z-53a4c0",
"com.olvind.scalablytyped" %%% "rxjs" % "6.3.2-a446da"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package chandu0101.scalajs.react.components | |
import chandu0101.macros.tojs.JSMacro | |
import chandu0101.macros.tojs.JSMacro._ | |
import japgolly.scalajs.react.{Callback, ReactElement, ReactComponentU_, React} | |
import scala.scalajs.js | |
import scala.scalajs.js.annotation.JSName | |
object ReactSlickComponent { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package minitest | |
import scala.util.{Failure, Success, Try} | |
trait MiniTest{ | |
sealed trait Result | |
case object SuccessRes extends Result | |
case class FailureRes(reason: String) extends Result | |
case class PendingRes(reason: String) extends Result |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File | |
import java.net.URL | |
import org.scalatest.{FunSpec, Matchers} | |
import unfiltered.filter.Plan | |
import unfiltered.jetty.Server | |
trait UnfilteredFixture extends FunSpec with Matchers { | |
private val port = unfiltered.util.Port.any |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package buzzwords | |
import java.io.File | |
import scala.io.Source | |
/** | |
* Det er fint å bruke typer som dokumentasjon/sikkerhet, og det gjør vi her | |
* med disse wrapper-typene. | |
* | |
* `extends AnyVal` vil si at det er er value types - dvs at det |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package linx | |
import com.olvind.stringifiers.Stringifier | |
import shapeless._ | |
import scala.language.implicitConversions | |
object Root extends StaticLinx(Vector.empty) | |
sealed trait Part | |
case class Literal(name: String) extends Part |
NewerOlder