Skip to content
Permalink
Browse files
CB-12369: Add plugin typings from DefinitelyTyped
 This closes #123
  • Loading branch information
matrosov-nikita authored and vladimir-kotikov committed Jan 20, 2017
1 parent caa5534 commit 894d1641915c4dead6656dc4e874a0b6b014addf
Showing 2 changed files with 18 additions and 0 deletions.
@@ -2,6 +2,7 @@
"name": "cordova-plugin-splashscreen",
"version": "4.0.2-dev",
"description": "Cordova Splashscreen Plugin",
"types": "./types/index.d.ts",
"cordova": {
"id": "cordova-plugin-splashscreen",
"platforms": [
@@ -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;
}
}

0 comments on commit 894d164

Please sign in to comment.