Merge pull request #8587 from RedFroggy/phonegap-nfc

Fix phonegap nfc type definition add global variables
This commit is contained in:
Masahiro Wakame
2016-03-19 12:42:00 +09:00
+4 -3
View File
@@ -442,18 +442,19 @@ declare namespace PhoneGapNfc {
}
}
declare var nfc:PhoneGapNfc.Nfc;
declare var ndef:PhoneGapNfc.Ndef;
declare var util:PhoneGapNfc.Util;
declare module 'nfc' {
var nfc:PhoneGapNfc.Nfc;
export = nfc;
}
declare module 'ndef' {
var ndef:PhoneGapNfc.Ndef;
export = ndef;
}
declare module 'util' {
var util:PhoneGapNfc.Util;
export = util;
}