Changeset 0c6b92a for imaps-frontend/node_modules/browserslist/index.d.ts
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/browserslist/index.d.ts
rd565449 r0c6b92a 167 167 ): Query[] 168 168 169 /** 170 * Return queries for specific file inside the project. 171 * 172 * ```js 173 * browserslist.loadConfig({ 174 * file: process.cwd() 175 * }) ?? browserslist.defaults 176 * ``` 177 */ 178 function loadConfig(options: LoadConfigOptions): string[] | undefined 179 169 180 function clearCaches(): void 170 181 … … 175 186 function findConfig(...pathSegments: string[]): Config | undefined 176 187 188 function findConfigFile(...pathSegments: string[]): string | undefined 189 177 190 interface LoadConfigOptions { 191 /** 192 * Path to config file 193 * */ 178 194 config?: string 195 196 /** 197 * Path to file inside the project to find Browserslist config 198 * in closest folder 199 */ 179 200 path?: string 201 202 /** 203 * Environment to choose part of config. 204 */ 180 205 env?: string 181 206 } 182 183 function loadConfig(options: LoadConfigOptions): string[] | undefined184 207 } 185 208
Note:
See TracChangeset
for help on using the changeset viewer.