From 7b58795532d00ccec53e4bd157e578144686fd56 Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Mon, 4 Apr 2022 05:56:06 +0300 Subject: [PATCH] fix(skyrim-platform): fix getExtraContainerChanges return type (#1087) closes #577 --- .../src/platform_se/codegen/convert-files/Definitions.txt | 2 +- .../src/platform_se/codegen/convert-files/skyrimPlatform.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skyrim-platform/src/platform_se/codegen/convert-files/Definitions.txt b/skyrim-platform/src/platform_se/codegen/convert-files/Definitions.txt index 76644efb8e..09373da43b 100644 --- a/skyrim-platform/src/platform_se/codegen/convert-files/Definitions.txt +++ b/skyrim-platform/src/platform_se/codegen/convert-files/Definitions.txt @@ -125,7 +125,7 @@ export interface InventoryChangesEntry { baseId: number extendDataList: BaseExtraList[] } -export declare let getExtraContainerChanges: (objectReferenceId: number) => InventoryChangesEntry[] +export declare let getExtraContainerChanges: (objectReferenceId: number) => InventoryChangesEntry[] | null export interface InventoryEntry { count: number diff --git a/skyrim-platform/src/platform_se/codegen/convert-files/skyrimPlatform.ts b/skyrim-platform/src/platform_se/codegen/convert-files/skyrimPlatform.ts index f5dd1fcee0..4a3f708608 100644 --- a/skyrim-platform/src/platform_se/codegen/convert-files/skyrimPlatform.ts +++ b/skyrim-platform/src/platform_se/codegen/convert-files/skyrimPlatform.ts @@ -130,7 +130,7 @@ export interface InventoryChangesEntry { baseId: number extendDataList: BaseExtraList[] } -export declare let getExtraContainerChanges: (objectReferenceId: number) => InventoryChangesEntry[] +export declare let getExtraContainerChanges: (objectReferenceId: number) => InventoryChangesEntry[] | null export interface InventoryEntry { count: number