Skip to content

Commit

Permalink
feat(exceptions): add export type ExceptionOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
pnodet committed Aug 28, 2024
1 parent 4a54b27 commit e134c48
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions src/exceptions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export {
createCustomException,
type ExceptionConstructor,
type FormattedException,
type ExceptionOptions,
Exception,
} from './create-custom';
export {
Expand Down
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ export {
toDiscord,
createCustomException,
} from './exceptions';
export type { ExceptionConstructor, FormattedException } from './exceptions';
export type {
ExceptionConstructor,
FormattedException,
ExceptionOptions,
} from './exceptions';

export { debounce, memo, noop, once, sleep, throttle } from './functions';

Expand Down

0 comments on commit e134c48

Please sign in to comment.