Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
CB-12369: Add plugin typings from DefinitelyTyped
This closes #123
- Loading branch information
1 parent
caa5534
commit 894d1641915c4dead6656dc4e874a0b6b014addf
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Type definitions for Apache Cordova Splashscreen plugin | ||
// Project: https://github.com/apache/cordova-plugin-splashscreen | ||
// Definitions by: Microsoft Open Technologies Inc <http://msopentech.com> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// | ||
// Copyright (c) Microsoft Open Technologies Inc | ||
// Licensed under the MIT license. | ||
|
||
interface Navigator { | ||
/** This plugin displays and hides a splash screen during application launch. */ | ||
splashscreen: { | ||
/** Dismiss the splash screen. */ | ||
hide(): void; | ||
/** Displays the splash screen. */ | ||
show(): void; | ||
} | ||
} |