Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit 841baeb

Browse files
committed
feat: Export Options and ResolvedOptions types
This commit exports the Options and ResolvedOptions types from the options module. This change will allow other modules to use these types, improving type safety and code readability.
1 parent 0a3308f commit 841baeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import type { CssModule } from './utils/css-module';
88
import { getCssModule, getCssModuleImports } from './utils/css-module';
99
import { type Options, resolveOptions } from './options';
1010

11+
export type { Options, ResolvedOptions } from './options';
12+
1113
// TODO: improve tree-shaking for production build
1214

1315
export function cssModules(_options: Options = {}): PreprocessorGroup {

0 commit comments

Comments
 (0)