fix: Images.Variants is an array of ImageType objects.
This commit is contained in:
parent
9aaeaa9979
commit
2710a90d98
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "amazon-pa-api5-node-ts",
|
||||
"version": "2.1.7",
|
||||
"version": "2.1.8",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "amazon-pa-api5-node-ts",
|
||||
"version": "2.1.7",
|
||||
"version": "2.1.8",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"superagent": "^9.0.0"
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"name": "amazon-pa-api5-node-ts",
|
||||
"version": "2.1.7",
|
||||
"version": "2.1.8",
|
||||
"description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.",
|
||||
"license": "Apache-2.0",
|
||||
"main": "dist/src/index",
|
||||
"types": "dist/src/index",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"build": "tsc",
|
||||
|
|
|
@ -43,7 +43,7 @@ export class Images {
|
|||
/**
|
||||
* @member {Array.<module:model/ImageType>} Variants
|
||||
*/
|
||||
public Variants?: ImageType;
|
||||
public Variants?: ImageType[];
|
||||
|
||||
/**
|
||||
* Constructs a <code>Images</code> from a plain JavaScript object, optionally creating a new instance.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ // Copied from https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/strict.json
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "./base.json",
|
||||
"extends": "./tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
// Enable strict mode. This enables a few options at a time, see https://www.typescriptlang.org/tsconfig#strict for a list.
|
||||
"strict": true
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ // Copied from https://github.com/withastro/astro/blob/main/packages/astro/tsconfigs/strictest.json
|
||||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"extends": "./strict.json",
|
||||
"extends": "./tsconfig.strict.json",
|
||||
"compilerOptions": {
|
||||
// Report errors for fallthrough cases in switch statements
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user