Skip to content

Commit f67b366

Browse files
committed
flow type modification
1 parent 83b27b3 commit f67b366

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/index.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @flow
2-
import type { ExtractorsObj, Options } from './../flow/index.js'
2+
import { type ExtractorsObj, type Options } from './../flow/index.js'
33

44
import fs from 'fs'
55
import path from 'path'
@@ -29,17 +29,15 @@ import DefaultExtractor from './Extractors/DefaultExtractor'
2929

3030
class Purgecss {
3131
options: Options
32-
selectors: Set<string>
3332

3433
constructor(options: Options | string) {
3534
if (typeof options === 'string' || typeof options === 'undefined')
3635
options = this.loadConfigFile(options)
3736
this.checkOptions(options)
3837
this.options = Object.assign(defaultOptions, options)
39-
this.selectors = new Set()
4038
}
4139

42-
loadConfigFile(configFile?: string) {
40+
loadConfigFile(configFile: string) {
4341
const pathConfig = typeof configFile === 'undefined' ? CONFIG_FILENAME : configFile
4442
let options
4543
try {

0 commit comments

Comments
 (0)