Skip to content

Commit 9f7bac8

Browse files
committed
chore: add comments and bump version
1 parent bafab60 commit 9f7bac8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ If your project doesn't already have global declarations for CSS Modules, you wi
232232

233233
Where you store global declarations is up to you. An example might look like: `./src/custom.d.ts`.
234234

235-
The below is an example that you can copy or modify. If you use a `customMatcher`, you'll need to modify this.
235+
The below is an example that you can copy or modify (you only declarations for exensions used in your project). If you use a `customMatcher`, you'll need to modify this.
236236

237237
```ts
238238
declare module '*.module.css' {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typescript-plugin-css-modules",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"main": "lib/index.js",
55
"author": "Brody McKee <[email protected]>",
66
"license": "MIT",

src/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { Options as SassOptions } from 'sass';
22
import tsModule from 'typescript/lib/tsserverlibrary';
33
import { DotenvConfigOptions } from 'dotenv/types';
44
import { CSSExports } from 'icss-utils';
5-
import { Logger } from './helpers/logger';
6-
75
import stylus from 'stylus';
6+
import { Logger } from './helpers/logger';
87

8+
// NOTE: Stylus doesn't directly export RenderOptions.
99
type StylusRenderOptions = Parameters<typeof stylus>[1];
1010

1111
export interface PostCssOptions {

0 commit comments

Comments
 (0)