Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/FullHuman/purgecss
Browse files Browse the repository at this point in the history
  • Loading branch information
Ffloriel committed Jun 5, 2018
2 parents 7073bea + 6b9ef91 commit 629a827
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/purgecss.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Type definitions for Purgecss 0.14.0
// Type definitions for Purgecss 1.0
// Project: Purgecss
// Definitions by: Ffloriel https://github.com/Ffloriel
// JounQin https://github.com/JounQin

export = Purgecss

Expand All @@ -11,7 +12,7 @@ declare class Purgecss {

loadConfigFile(configFile: string): Purgecss.Options

checkOptions(options: Purgecss.Options)
checkOptions(options: Purgecss.Options): void

purge(): Array<Purgecss.FileResult>

Expand All @@ -34,14 +35,14 @@ declare class Purgecss {

getSelectorsCss(css: string, selectors: Set<string>): string

isIgnoreAnnotation(node: Object, type: IgnoreType): boolean
isIgnoreAnnotation(node: Object, type: Purgecss.IgnoreType): boolean

isRuleEmpty(node: Object): boolean

shouldKeepSelector(
selectorsInContent: Set<string>,
selectorsInRule: Array<string>
)
) :boolean
}

declare namespace Purgecss {
Expand Down

0 comments on commit 629a827

Please sign in to comment.