diff --git a/apigee-access/apigee-access-tests.ts b/apigee-access/apigee-access-tests.ts
index 99baec8021..c023be51c9 100644
--- a/apigee-access/apigee-access-tests.ts
+++ b/apigee-access/apigee-access-tests.ts
@@ -1,4 +1,3 @@
-///
import apigee from "apigee-access";
//Sample code from
diff --git a/apigee-access/apigee-access.d.ts b/apigee-access/index.d.ts
similarity index 95%
rename from apigee-access/apigee-access.d.ts
rename to apigee-access/index.d.ts
index af34724023..e3c2157857 100644
--- a/apigee-access/apigee-access.d.ts
+++ b/apigee-access/index.d.ts
@@ -3,7 +3,7 @@
// Definitions by: Casper Skydt
// 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;
-}
\ No newline at end of file
+export default ApigeeAccess;
diff --git a/apigee-access/tsconfig.json b/apigee-access/tsconfig.json
new file mode 100644
index 0000000000..4e7f02b30c
--- /dev/null
+++ b/apigee-access/tsconfig.json
@@ -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"
+ ]
+}
\ No newline at end of file