We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[E] [E2] src\main\scala\typings\awsSdkUtilDynamodb\distTypesMarshallMod.scala:86:7 [E] double definition: [E] def marshall(data: typings.std.Map[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 74 and [E] def marshall[O](data: typings.std.Map[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions with O): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 86 [E] have same type after erasure: (data: typings.std.Map, options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): org.scalablytyped.runtime.StringDictionary [E] L86: def marshall[O /* <: `0` */](data: Map[String, NativeAttributeValue], options: marshallOptions with O): Record[String, AttributeValue] = (^.asInstanceOf[js.Dynamic].applyDynamic("marshall")(data.asInstanceOf[js.Any], options.asInstanceOf[js.Any])).asInstanceOf[Record[String, AttributeValue]] [E] ^^^^^^^^
$ npm i --save @aws-sdk/[email protected] typescript $ cs launch stc -- --scala 2.13.14 --scalajs 1.16.0 directory R:\test includeDev false includeProject false wantedLibs @aws-sdk/util-dynamodb useScalaJsDomTypes true flavour Normal outputPackage typings enableScalaJsDefined AllExcept(TreeSet()) stdLibs TreeSet(es6) expandTypeMappings AllExcept(TreeSet(prop-types, react, std)) ignoredLibs Set(typescript) versions Versions(Scala(2.13.14),ScalaJs(1.16.0)) organization org.scalablytyped enableLongApplyMethod false ... [warn ] 2024-06-25T13:14:01.459245100Z Phase3Compile.scala:128 Building C:\Users\user\.ivy2\local\org.scalablytyped\aws-sdk__util-dynamodb_sjs1_2.13\3.602.0-ba88c1\jars\aws-sdk__util-dynamodb_sjs1_2.13.jar... [id => @aws-sdk/util-dynamodb, thread => 1, phase => build, flavour => NormalFlavour] [error] 2024-06-25T13:14:07.177365800Z Phase3Compile.scala:152 err Compiling aws-sdk__util-dynamodb (10 Scala sources) [E] [E4] src\main\scala\typings\awsSdkUtilDynamodb\mod.scala:140:7 [E] double definition: [E] def marshall(data: typings.std.Map[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 128 and [E] def marshall[O](data: typings.std.Map[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions with O): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 140 [E] have same type after erasure: (data: typings.std.Map, options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): org.scalablytyped.runtime.StringDictionary [E] L140: def marshall[O /* <: `0` */](data: Map[String, NativeAttributeValue], options: marshallOptions with O): Record[String, AttributeValue] = (^.asInstanceOf[js.Dynamic].applyDynamic("marshall")(data.asInstanceOf[js.Any], options.asInstanceOf[js.Any])).asInstanceOf[Record[String, AttributeValue]] [E] ^^^^^^^^ [E] [E3] src\main\scala\typings\awsSdkUtilDynamodb\mod.scala:142:7 [E] double definition: [E] def marshall(data: typings.std.Record[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 132 and [E] def marshall[O](data: typings.std.Record[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions with O): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 142 [E] have same type after erasure: (data: org.scalablytyped.runtime.StringDictionary, options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): org.scalablytyped.runtime.StringDictionary [E] L142: def marshall[O /* <: `0` */](data: Record[String, NativeAttributeValue], options: marshallOptions with O): Record[String, AttributeValue] = (^.asInstanceOf[js.Dynamic].applyDynamic("marshall")(data.asInstanceOf[js.Any], options.asInstanceOf[js.Any])).asInstanceOf[Record[String, AttributeValue]] [E] ^^^^^^^^ [E] [E2] src\main\scala\typings\awsSdkUtilDynamodb\distTypesMarshallMod.scala:86:7 [E] double definition: [E] def marshall(data: typings.std.Map[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 74 and [E] def marshall[O](data: typings.std.Map[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions with O): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 86 [E] have same type after erasure: (data: typings.std.Map, options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): org.scalablytyped.runtime.StringDictionary [E] L86: def marshall[O /* <: `0` */](data: Map[String, NativeAttributeValue], options: marshallOptions with O): Record[String, AttributeValue] = (^.asInstanceOf[js.Dynamic].applyDynamic("marshall")(data.asInstanceOf[js.Any], options.asInstanceOf[js.Any])).asInstanceOf[Record[String, AttributeValue]] [E] ^^^^^^^^ [E] [E1] src\main\scala\typings\awsSdkUtilDynamodb\distTypesMarshallMod.scala:88:7 [E] double definition: [E] def marshall(data: typings.std.Record[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 78 and [E] def marshall[O](data: typings.std.Record[String,typings.awsSdkUtilDynamodb.distTypesModelsMod.NativeAttributeValue], options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions with O): typings.std.Record[String,typings.awsSdkClientDynamodb.distTypesModelsModels0Mod.AttributeValue] at line 88 [E] have same type after erasure: (data: org.scalablytyped.runtime.StringDictionary, options: typings.awsSdkUtilDynamodb.distTypesMarshallMod.marshallOptions): org.scalablytyped.runtime.StringDictionary [E] L88: def marshall[O /* <: `0` */](data: Record[String, NativeAttributeValue], options: marshallOptions with O): Record[String, AttributeValue] = (^.asInstanceOf[js.Dynamic].applyDynamic("marshall")(data.asInstanceOf[js.Any], options.asInstanceOf[js.Any])).asInstanceOf[Record[String, AttributeValue]] [E] ^^^^^^^^ [E] src\main\scala\typings\awsSdkUtilDynamodb\distTypesMarshallMod.scala: L86 [E2], L88 [E1] [E] src\main\scala\typings\awsSdkUtilDynamodb\mod.scala: L140 [E4], L142 [E3] Compiled aws-sdk__util-dynamodb (4037ms) [E] Failed to compile 'aws-sdk__util-dynamodb' [id => @aws-sdk/util-dynamodb, thread => 1, phase => build, flavour => NormalFlavour] [warn ] 2024-06-25T13:14:07.195490300Z Main.scala:309 td 26527 Failure: You might try --ignoredLibs @aws-sdk/util-dynamodb (R:\test\node_modules\@aws-sdk\util-dynamodb)] [E4] src\main\scala\typings\awsSdkUtilDynamodb\mod.scala:140:7
looks like this error is coming from this commit, and signatures are:
export function marshall<O extends { convertTopLevelContainer: false }>( data: Map<string, NativeAttributeValue> | Record<string, NativeAttributeValue>, options: marshallOptions & O ): Record<string, AttributeValue>;
and
export function marshall( data: Map<string, NativeAttributeValue> | Record<string, NativeAttributeValue>, options?: marshallOptions ): Record<string, AttributeValue>;
(I'd like to fix this myself if I can, but I don't know where to start from...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(ScalablyTyped CLI command & outputs)
looks like this error is coming from this commit, and signatures are:
and
(I'd like to fix this myself if I can, but I don't know where to start from...)
The text was updated successfully, but these errors were encountered: