mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix phoengap ndc type definition add global variables
This commit is contained in:
Vendored
+4
-3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user