forked from ScalablyTyped/Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add antd button es and lib (ScalablyTyped#638)
- Loading branch information
Showing
35 changed files
with
1,680 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
organization := "org.scalablytyped" | ||
name := "antd" | ||
version := "4.3.1-87f21b" | ||
version := "4.3.1-5b660e" | ||
scalaVersion := "3.3.1" | ||
enablePlugins(ScalaJSPlugin) | ||
libraryDependencies ++= Seq( | ||
"com.olvind" %%% "scalablytyped-runtime" % "2.4.2") | ||
"com.olvind" %%% "scalablytyped-runtime" % "2.4.2", | ||
"org.scalablytyped" %%% "react" % "0.0-unknown-71761d", | ||
"org.scalablytyped" %%% "std" % "0.0-unknown-be9d8f") | ||
publishArtifact in packageDoc := false | ||
scalacOptions ++= List("-encoding", "utf-8", "-feature", "-language:implicitConversions", "-language:higherKinds", "-language:existentials", "-no-indent", "-source:future") | ||
licenses += ("MIT", url("http://opensource.org/licenses/MIT")) |
64 changes: 64 additions & 0 deletions
64
tests/antd/check-3/a/antd/src/main/scala/typings/antd/anon.scala
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
package typings.antd | ||
|
||
import org.scalablytyped.runtime.StObject | ||
import scala.scalajs.js | ||
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} | ||
|
||
object anon { | ||
|
||
trait Delay extends StObject { | ||
|
||
var delay: js.UndefOr[Double] = js.undefined | ||
} | ||
object Delay { | ||
|
||
inline def apply(): Delay = { | ||
val __obj = js.Dynamic.literal() | ||
__obj.asInstanceOf[Delay] | ||
} | ||
|
||
@scala.inline | ||
implicit open class MutableBuilder[Self <: Delay] (val x: Self) extends AnyVal { | ||
|
||
inline def setDelay(value: Double): Self = StObject.set(x, "delay", value.asInstanceOf[js.Any]) | ||
|
||
inline def setDelayUndefined: Self = StObject.set(x, "delay", js.undefined) | ||
} | ||
} | ||
|
||
trait Icon extends StObject { | ||
|
||
var icon: String | ||
} | ||
object Icon { | ||
|
||
inline def apply(icon: String): Icon = { | ||
val __obj = js.Dynamic.literal(icon = icon.asInstanceOf[js.Any]) | ||
__obj.asInstanceOf[Icon] | ||
} | ||
|
||
@scala.inline | ||
implicit open class MutableBuilder[Self <: Icon] (val x: Self) extends AnyVal { | ||
|
||
inline def setIcon(value: String): Self = StObject.set(x, "icon", value.asInstanceOf[js.Any]) | ||
} | ||
} | ||
|
||
trait IconAny extends StObject { | ||
|
||
var icon: Any | ||
} | ||
object IconAny { | ||
|
||
inline def apply(icon: Any): IconAny = { | ||
val __obj = js.Dynamic.literal(icon = icon.asInstanceOf[js.Any]) | ||
__obj.asInstanceOf[IconAny] | ||
} | ||
|
||
@scala.inline | ||
implicit open class MutableBuilder[Self <: IconAny] (val x: Self) extends AnyVal { | ||
|
||
inline def setIcon(value: Any): Self = StObject.set(x, "icon", value.asInstanceOf[js.Any]) | ||
} | ||
} | ||
} |
Oops, something went wrong.