Skip to content

Commit a903395

Browse files
fix: types update
1 parent 2d370d5 commit a903395

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ declare namespace MiniCssExtractPlugin {
136136
* @property {boolean=} ignoreOrder true when need to ignore order, otherwise false
137137
* @property {string | ((linkTag: HTMLLinkElement) => void)=} insert link insert place or a custom insert function
138138
* @property {Record<string, string>=} attributes link attributes
139-
* @property {string | false | 'text/css'=} linkType value of a link type attribute
139+
* @property {string | false | "text/css"=} linkType value of a link type attribute
140140
* @property {boolean=} runtime true when need to generate runtime code, otherwise false
141141
* @property {boolean=} experimentalUseImportModule true when need to use `experimentalUseImportModule` API, otherwise false
142142
*/
@@ -147,14 +147,14 @@ declare namespace MiniCssExtractPlugin {
147147
* @property {boolean} ignoreOrder true when need to ignore order, otherwise false
148148
* @property {string | ((linkTag: HTMLLinkElement) => void)=} insert a link insert place or a custom insert function
149149
* @property {Record<string, string>=} attributes link attributes
150-
* @property {string | false | 'text/css'=} linkType value of a link type attribute
150+
* @property {string | false | "text/css"=} linkType value of a link type attribute
151151
* @property {boolean} runtime true when need to generate runtime code, otherwise false
152152
* @property {boolean=} experimentalUseImportModule true when need to use `experimentalUseImportModule` API, otherwise false
153153
*/
154154
/**
155155
* @typedef {object} RuntimeOptions
156156
* @property {string | ((linkTag: HTMLLinkElement) => void)=} insert a link insert place or a custom insert function
157-
* @property {string | false | 'text/css'} linkType value of a link type attribute
157+
* @property {string | false | "text/css"} linkType value of a link type attribute
158158
* @property {Record<string, string>=} attributes link attributes
159159
*/
160160
declare const pluginName: "mini-css-extract-plugin";

types/loader.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import MiniCssExtractPlugin = require("./index");
3636
/** @typedef {import("webpack").AssetInfo} AssetInfo */
3737
/** @typedef {import("webpack").NormalModule} NormalModule */
3838
/** @typedef {import("./index.js").LoaderOptions} LoaderOptions */
39-
/** @typedef {{[key: string]: string | Function }} Locals */
39+
/** @typedef {{ [key: string]: string | Function }} Locals */
4040
/** @typedef {any} EXPECTED_ANY */
4141
/**
4242
* @typedef {object} Dependency

0 commit comments

Comments
 (0)