mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Merge pull request #8587 from RedFroggy/phonegap-nfc
Fix phonegap nfc type definition add global variables
This commit is contained in:
commit
2c1c2383e3
1 file changed
+4
-3
Vendored
+4
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user