Skip to content

Commit

Permalink
fix: charAt undefined error documentationjs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Nov 22, 2020
1 parent 6454185 commit 9a695bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ type PostCSSPlugin = (root: Root, result: Result) => void | PromiseLike<void>;
*
* @returns {PostCSSPlugin} - Returns a PostCSS Plugin.
*/
type StylelintRuleFunction = {
interface StylelintRuleFunction {
(
primaryOption: string | string[],
secondaryOptions?: ISecondaryOptions,
context?: LinterOptions
): PostCSSPlugin;
primaryOptionArray: boolean;
};
}
const ruleFunction: StylelintRuleFunction = (
properties: string | string[],
options: ISecondaryOptions,
Expand Down

0 comments on commit 9a695bb

Please sign in to comment.