Skip to content

Commit

Permalink
feat: ensure config file satisfies Config interface
Browse files Browse the repository at this point in the history
Ensures that the exported object from the config file satisfies the Config interface
  • Loading branch information
dankerow committed May 28, 2024
1 parent 41c2536 commit 72e565a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/config.example.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { Config } from '@/types'

export default {
maintainers: []
}
} satisfies Config
4 changes: 3 additions & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { Config } from '@/types'

export default {
maintainers: ['804827945997959209']
}
} satisfies Config

0 comments on commit 72e565a

Please sign in to comment.