mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Merge pull request #6495 from Zorgatone/master
Allow AMD/CommonJS loading of Cordova and Ionic Framework (shim)
This commit is contained in:
4
cordova/cordova.d.ts
vendored
4
cordova/cordova.d.ts
vendored
@@ -95,3 +95,7 @@ interface UrlUtil {
|
||||
|
||||
/** Apache Cordova instance */
|
||||
declare var cordova: Cordova;
|
||||
|
||||
declare module 'cordova' {
|
||||
export = cordova;
|
||||
}
|
||||
|
||||
10
ionic/ionic.d.ts
vendored
10
ionic/ionic.d.ts
vendored
@@ -5,6 +5,16 @@
|
||||
|
||||
/// <reference path="../angularjs/angular.d.ts" />
|
||||
|
||||
interface IonicStatic {
|
||||
version: string;
|
||||
}
|
||||
|
||||
declare var ionic: IonicStatic;
|
||||
|
||||
declare module 'ionic' {
|
||||
export = ionic;
|
||||
}
|
||||
|
||||
declare module ionic {
|
||||
module actionSheet {
|
||||
interface IonicActionSheetService {
|
||||
|
||||
Reference in New Issue
Block a user