Skip to content

Commit

Permalink
chore: add types related checks
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaofan2406 authored and bchew committed Apr 8, 2022
1 parent 262f510 commit 7d9f731
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
node-version: ${{matrix.node}}
- run: npm -v
- run: npm ci
- run: npm run type-check
- run: |
npm run generate-types
git diff --exit-code
- run: npm run dist
- name: Deploy docs to Netlify
run: |
Expand Down
2 changes: 2 additions & 0 deletions src/components/Toast/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import * as React from 'react';

export const ToastMessage: React.FC;

export type ToastContainerPosition =
| 'top-right'
| 'top-center'
Expand Down

0 comments on commit 7d9f731

Please sign in to comment.