Skip to content

Commit

Permalink
fix(types): add .module.pcss typings, fix #3518 (#3519)
Browse files Browse the repository at this point in the history
  • Loading branch information
edikdeisling committed May 24, 2021
1 parent 13bda33 commit 3475351
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vite/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ declare module '*.module.stylus' {
const classes: CSSModuleClasses
export default classes
}
declare module '*.module.pcss' {
const classes: CSSModuleClasses
export default classes
}

// CSS
declare module '*.css' {
Expand All @@ -100,7 +104,6 @@ declare module '*.stylus' {
const css: string
export default css
}

declare module '*.pcss' {
const css: string
export default css
Expand Down

0 comments on commit 3475351

Please sign in to comment.