Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Mar 10, 2020
1 parent 918b7a3 commit 29ca9d8
Show file tree
Hide file tree
Showing 133 changed files with 309 additions and 1,521 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "aws-sdk"
version := "2.247.1-7cbaa0"
version := "2.247.1-b8e071"
scalaVersion := "2.13.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package typings.awsSdk.configMod

import typings.awsSdk.ConfigConfigurationServicePlaceholdersAPIVersionsApiVersionApiVersions
import typings.awsSdk.ConfigurationServicePlaceholdersAPIVersions
import typings.awsSdk.configServicePlaceholdersMod.ConfigurationServicePlaceholders
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._
Expand All @@ -13,14 +12,14 @@ import scala.scalajs.js.annotation._
* This is the object that passes option data along to service requests, including credentials, security, region information, and some service specific settings.
*/
class Config () extends js.Object {
def this(options: ConfigurationServicePlaceholdersAPIVersions) = this()
def this(options: ConfigurationServicePlaceholders with APIVersions) = this()
/**
* Loads configuration data from a JSON file into this config object.
* Loading configuration willr eset all existing configuration on the object.
* This feature is not supported in the browser environment of the SDK.
*
* @param {string} path - the path relative to your process's current working directory to load configuration from.
*/
def loadFromPath(path: String): ConfigConfigurationServicePlaceholdersAPIVersionsApiVersionApiVersions = js.native
def loadFromPath(path: String): Config with ConfigurationServicePlaceholders with APIVersions = js.native
}

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "chart_dot_js"
version := "0.0-unknown-9e33bd"
version := "0.0-unknown-350f17"
scalaVersion := "2.13.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
package typings.chartJs

import org.scalablytyped.runtime.StringDictionary
import typings.chartJs.mod.ChartFontOptions
import typings.chartJs.mod.ChartOptions
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._

@js.native
trait AnonGlobal
trait AnonDictkeyGlobal
extends /* key */ StringDictionary[js.Any] {
var global: ChartOptionsChartFontOptions = js.native
var global: ChartOptions with ChartFontOptions = js.native
}

object AnonGlobal {
object AnonDictkeyGlobal {
@scala.inline
def apply(global: ChartOptionsChartFontOptions, StringDictionary: /* key */ StringDictionary[js.Any] = null): AnonGlobal = {
def apply(
global: ChartOptions with ChartFontOptions,
StringDictionary: /* key */ StringDictionary[js.Any] = null
): AnonDictkeyGlobal = {
val __obj = js.Dynamic.literal(global = global.asInstanceOf[js.Any])
if (StringDictionary != null) js.Dynamic.global.Object.assign(__obj, StringDictionary)
__obj.asInstanceOf[AnonGlobal]
__obj.asInstanceOf[AnonDictkeyGlobal]
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._

@js.native
trait TypeofClassChart
trait TypeofClassChartInstantiableChart
extends Instantiable2[
(/* context */ ArrayLike[CanvasRenderingContext2D | HTMLCanvasElement]) | (/* context */ CanvasRenderingContext2D) | (/* context */ HTMLCanvasElement) | (/* context */ String),
/* options */ js.Any,
Chart
] {
var controllers: StringDictionary[js.Any] = js.native
var defaults: AnonGlobal = js.native
var defaults: AnonDictkeyGlobal = js.native
}

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package typings.chartJs.mod

import org.scalablytyped.runtime.StringDictionary
import typings.chartJs.AnonGlobal
import typings.chartJs.TypeofClassChart
import typings.chartJs.AnonDictkeyGlobal
import typings.chartJs.TypeofClassChartInstantiableChart
import typings.std.ArrayLike
import typings.std.CanvasRenderingContext2D
import typings.std.HTMLCanvasElement
Expand All @@ -22,8 +22,8 @@ class ^ protected () extends Chart {
@JSImport("chart.js", JSImport.Namespace)
@js.native
object ^ extends js.Object {
val Chart: TypeofClassChart = js.native
val Chart: TypeofClassChartInstantiableChart = js.native
var controllers: StringDictionary[js.Any] = js.native
var defaults: AnonGlobal = js.native
var defaults: AnonDictkeyGlobal = js.native
}

Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
organization := "org.scalablytyped"
name := "angular-agility"
version := "0.0-unknown-ad90c7"
version := "0.0-unknown-3a904b"
scalaVersion := "2.13.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
"com.olvind" %%% "scalablytyped-runtime" % "2.1.0",
"org.scalablytyped" %%% "angular" % "1.6-a834ce",
"org.scalablytyped" %%% "angular" % "1.6-20d317",
"org.scalablytyped" %%% "std" % "0.0-unknown-eec27d")
publishArtifact in packageDoc := false
scalacOptions ++= List("-encoding", "utf-8", "-g:notailcalls", "-P:scalajs:sjsDefinedByDefault")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "angular"
version := "1.6-a834ce"
version := "1.6-20d317"
scalaVersion := "2.13.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._

@js.native
trait AnonArgs[T]
trait Anon0[T]
extends Instantiable1[/* args (repeated) */ js.Any, T]

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package typings.angular.mod

import typings.angular.AnonArgs
import typings.angular.Anon0
import typings.angular.mod._Global_.Function
import scala.scalajs.js
import scala.scalajs.js.`|`
Expand All @@ -22,8 +22,8 @@ object auto extends js.Object {
def get[T](name: String): T = js.native
def get[T](name: String, caller: String): T = js.native
def has(name: String): Boolean = js.native
def instantiate[T](typeConstructor: AnonArgs[T]): T = js.native
def instantiate[T](typeConstructor: AnonArgs[T], locals: js.Any): T = js.native
def instantiate[T](typeConstructor: Anon0[T]): T = js.native
def instantiate[T](typeConstructor: Anon0[T], locals: js.Any): T = js.native
def invoke[T](func: Injectable[Function | (js.Function1[/* repeated */ _, T])]): T = js.native
def invoke[T](func: Injectable[Function | (js.Function1[/* repeated */ _, T])], context: js.Any): T = js.native
def invoke[T](func: Injectable[Function | (js.Function1[/* repeated */ _, T])], context: js.Any, locals: js.Any): T = js.native
Expand Down
2 changes: 1 addition & 1 deletion importer/src/test/resources/fp-ts/check/f/fp-ts/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "org.scalablytyped"
name := "fp-ts"
version := "1.2.0-43d10e"
version := "1.2.0-33cefb"
scalaVersion := "2.13.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package typings.fpTs

import typings.fpTs.hktMod.HKT
import scala.scalajs.js
import scala.scalajs.js.`|`
import scala.scalajs.js.annotation._

@js.native
trait AnonNever extends js.Object {
var never: HKT[scala.Nothing, scala.Nothing] = js.native
}

object AnonNever {
@scala.inline
def apply(never: HKT[scala.Nothing, scala.Nothing]): AnonNever = {
val __obj = js.Dynamic.literal(never = never.asInstanceOf[js.Any])

__obj.asInstanceOf[AnonNever]
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ import scala.scalajs.js.annotation._

package object hktMod {
type Type[URI /* <: typings.fpTs.hktMod.URIS */, A] = /* import warning: importer.ImportType#apply Failed type conversion: fp-ts.fp-ts/lib/HKT.URI2HKT<A>[URI] */ js.Any
type URIS = /* import warning: importer.ImportType#apply Failed type conversion: fp-ts.fp-ts/lib/HKT.HKT<never, never>['_URI'] */ js.Any
type URIS = /* import warning: importer.ImportType#apply Failed type conversion: fp-ts.fp-ts/lib/HKT.URI2HKT<any> & fp-ts.Anon_Never[keyof fp-ts.fp-ts/lib/HKT.URI2HKT<any> | 'never']['_URI'] */ js.Any
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
organization := "org.scalablytyped"
name := "componentstest"
version := "0.0-unknown-450911"
version := "0.0-unknown-3a2169"
scalaVersion := "2.13.1"
enablePlugins(ScalaJSPlugin)
libraryDependencies ++= Seq(
"com.github.japgolly.scalajs-react" %%% "core" % "1.5.0",
"com.olvind" %%% "scalablytyped-runtime" % "2.1.0",
"org.scalablytyped" %%% "react" % "16.9.2-578572",
"org.scalablytyped" %%% "react" % "16.9.2-424c14",
"org.scalablytyped" %%% "std" % "0.0-unknown-266f11")
publishArtifact in packageDoc := false
scalacOptions ++= List("-encoding", "utf-8", "-g:notailcalls", "-P:scalajs:sjsDefinedByDefault")
Expand Down
Loading

0 comments on commit 29ca9d8

Please sign in to comment.