chore(theme): improve options type

This commit is contained in:
Benjamin Canac
2024-06-05 22:12:11 +02:00
parent ecc2240df0
commit 3f2b1b12cd
18 changed files with 220 additions and 192 deletions

View File

@@ -1,5 +1,6 @@
import type { ModuleOptions } from '../module'
import input from './input'
export default (config: { colors: string[] }) => {
return input(config)
export default (options: Required<ModuleOptions>) => {
return input(options)
}