Skip to content

Commit

Permalink
build: gen *.d.ts when building
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanluongoe committed Jan 9, 2024
1 parent aaf725c commit 3ffb95e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ToastIcon from './toast-icon';

setup(React.createElement);

interface ToasterProps {
export interface ToasterProps {
position?: 'left' | 'center' | 'right';
toastOptions?: ToastsOptions;
}
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"compilerOptions": {
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["dom", "esnext"],
"declaration": true,
"sourceMap": true,
"module": "ESNext",
"moduleResolution": "node",
"skipLibCheck": true,
Expand Down

0 comments on commit 3ffb95e

Please sign in to comment.