Skip to content

Commit

Permalink
Add ambient typescript declaration for CSS Modules (#768)
Browse files Browse the repository at this point in the history
* Add ambient typescript declaration for CSS Modules

* Create two-bikes-brush.md

* ...
  • Loading branch information
developit authored Dec 18, 2020
1 parent 94bd8ed commit 52a1771
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/two-bikes-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"microbundle": patch
---

Add ambient typescript declaration for CSS Modules
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.module.css' {
const classes: { [key: string]: string };
export default classes;
}

0 comments on commit 52a1771

Please sign in to comment.