From 4a251790cd413a19bea11dde46cebead79d7fe90 Mon Sep 17 00:00:00 2001 From: Alexander Tartmin Date: Wed, 23 Oct 2019 01:10:49 +0300 Subject: [PATCH] Fix typo in Google Receipt object field (date -> data) (#39168) According to this line, it looks like a typo in Receipt object https://github.com/voltrue2/in-app-purchase/blob/e966ee1348bd4f67581779abeec59c4bbc2b2ebc/lib/google.js#L197 --- types/in-app-purchase/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/in-app-purchase/index.d.ts b/types/in-app-purchase/index.d.ts index 6ca130d69c..56ee3e02f8 100644 --- a/types/in-app-purchase/index.d.ts +++ b/types/in-app-purchase/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for in-app-purchase 1.10 // Project: https://github.com/voltrue2/in-app-purchase#readme -// Definitions by: Jonas Lochmann , Dennis Kugelmann +// Definitions by: Jonas Lochmann , Dennis Kugelmann , Alexander Tartmin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -78,7 +78,7 @@ export type Service = typeof UNITY | typeof APPLE | typeof GOOGLE | typeof WINDO export type UnityReceipt = object | string; export type AppleReceipt = string; export type GoogleReceipt = { - date: string; + data: string; signature: string; } | string; export type WindowsReceipt = string;