mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
fix apigee-access
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
/// <reference path="apigee-access.d.ts"/>
|
||||
import apigee from "apigee-access";
|
||||
|
||||
//Sample code from
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Casper Skydt <https://github.com/CasperSkydt>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module ApigeeAccess {
|
||||
declare namespace ApigeeAccess {
|
||||
|
||||
function getVariable(request: any, name: string): string | number | boolean;
|
||||
function setVariable(request: any, name: string, value: string | number | boolean ): void;
|
||||
@@ -53,6 +53,4 @@ declare module ApigeeAccess {
|
||||
}
|
||||
}
|
||||
|
||||
declare module "apigee-access"{
|
||||
export default ApigeeAccess;
|
||||
}
|
||||
export default ApigeeAccess;
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"apigee-access-tests.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user