Skip to content

Commit

Permalink
Enforce type checking during CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
rezigned committed Jul 21, 2020
1 parent 5f10205 commit e0d0d36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npx tsc --noEmit --lib es2015 types/index.d.ts
- run: npm run build --if-present
- run: npm test
8 changes: 8 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ declare namespace Omise {
country: string;
zero_interest_installments: boolean;
}

interface IRequest {
chain_enabled?: boolean;
chain_return_uri?: string;
metadata_export_keys?: object;
webhook_uri?: string;
zero_interest_installments?: boolean;
}
}

export namespace Balance {
Expand Down

0 comments on commit e0d0d36

Please sign in to comment.