Fix phoengap ndc type definition add global variables

This commit is contained in:
Michael DESIGAUD
2016-03-16 09:49:34 +01:00
parent 254a293f4b
commit f0ded34617
+4 -3
View File
@@ -442,18 +442,19 @@ declare module 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;
}