mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
refactor(Ionic framework): update ionic.Platform.ready callback to accept any return
To be more generic, the ionic.Platform.ready callback has been updated to accept any return.
This commit is contained in:
2
ionic/ionic.d.ts
vendored
2
ionic/ionic.d.ts
vendored
@@ -21,7 +21,7 @@ interface IonicStatic {
|
||||
* Please remember that Cordova features (Camera, FileSystem, etc) still
|
||||
* will not work in a web browser.
|
||||
*/
|
||||
ready(callback: ()=>void): void;
|
||||
ready(callback: ()=>any): void;
|
||||
/**
|
||||
* Set the grade of the device: ‘a’, ‘b’, or ‘c’. ‘a’ is the best
|
||||
* (most css features enabled), ‘c’ is the worst. By default, sets the grade
|
||||
|
||||
Reference in New Issue
Block a user