Fix typo in Google Receipt object field (date -> data) (#39168)

According to this line, it looks like a typo in Receipt object
e966ee1348/lib/google.js (L197)
This commit is contained in:
Alexander Tartmin
2019-10-23 01:10:49 +03:00
committed by Wesley Wigham
parent 4723b78d0c
commit 4a251790cd

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;