@astrox/ax-types 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
package/index.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ // Type definitions for ax 0.1
2
+ // Project: https://github.com/AstroxNetwork/ax
3
+ // Definitions by: Hsehoiki <https://github.com/kasumisk>
4
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
+
6
+ interface AxType {
7
+ /**
8
+ * ax function
9
+ */
10
+ setNavigationBarTitle: (text: string) => boolean;
11
+ setNavigationBarColor: (color: string) => boolean;
12
+ }
13
+
14
+ /**
15
+ * ax is global object
16
+ */
17
+ declare const ax: AxType;
18
+
19
+ export = ax;
package/package.json ADDED
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "@astrox/ax-types",
3
+ "version": "0.0.13",
4
+ "author": "AstroX Network",
5
+ "license": "MIT",
6
+ "description": "TypeScript definitions for ax",
7
+ "homepage": "https://github.com/AstroxNetwork/ax",
8
+ "main": "",
9
+ "types": "index.d.ts",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/AstroxNetwork/ax.git",
13
+ "directory": "ax-types"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "scripts": {},
19
+ "typesPublisherContentHash": "e35c02431c6153cb4f7280c296d68c5dead5ce1584c60e4fe11b5132cbf41b3f",
20
+ "typeScriptVersion": "3.6",
21
+ "gitHead": "bd8bbdfa92630468257e7c86429170a07b4b889b"
22
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "commonjs",
5
+ "lib": ["es6"],
6
+ "noImplicitAny": true,
7
+ "noImplicitThis": true,
8
+ "strictFunctionTypes": true,
9
+ "strictNullChecks": true,
10
+ "baseUrl": "./",
11
+ "types": [],
12
+ "noEmit": true,
13
+ "forceConsistentCasingInFileNames": true
14
+ },
15
+ "files": ["index.d.ts"]
16
+ }
package/tslint.json ADDED
@@ -0,0 +1 @@
1
+ { "extends": "dtslint/dt.json" }