mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Merge pull request #8587 from RedFroggy/phonegap-nfc
Fix phonegap nfc type definition add global variables
This commit is contained in:
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