Skip to content

Commit

Permalink
fix: typings for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
evanshortiss committed Mar 3, 2020
1 parent 5140d26 commit 5aa5082
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions env-var.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import { Url } from 'url';

interface IPresentVariable<Extensions> {
interface IPresentVariable<Extensions = {}> {
/**
* Converts a bas64 environment variable to ut8
*/
Expand Down Expand Up @@ -120,7 +120,7 @@ interface IPresentVariable<Extensions> {
asEnum: (validValues: string[]) => string;
}

interface IOptionalVariable<Extensions> {
interface IOptionalVariable<Extensions = {}> {
/**
* Decodes a base64-encoded environment variable
*/
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"compilerOptions": {
"sourceMap": true,
"noImplicitAny": true,
"sourceMap": false,
"target": "es5",
"moduleResolution": "node",
"skipLibCheck": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true
},
"files": ["test/types/index.ts", "example/typescript.ts"]
Expand Down

0 comments on commit 5aa5082

Please sign in to comment.