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
This commit is contained in:
Alexander Tartmin
2019-10-22 15:10:49 -07:00
committed by Wesley Wigham
parent 4723b78d0c
commit 4a251790cd
+2 -2
View File
@@ -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 <https://github.com/l-jonas>, Dennis Kugelmann <https://github.com/IchordeDionysos>
// Definitions by: Jonas Lochmann <https://github.com/l-jonas>, Dennis Kugelmann <https://github.com/IchordeDionysos>, Alexander Tartmin <https://github.com/Baskerville42>
// 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;