Skip to content

Commit

Permalink
Sort some lines
Browse files Browse the repository at this point in the history
  • Loading branch information
magicismight committed Aug 17, 2021
1 parent b733f11 commit 63bbeea
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/bem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ export const DefaultBEMDelimiters: BEMDelimiters = {
modifierValue: '-'
};

interface bem {
(blockName: string): BEMBlock;
(blockName: string, elementName: string): BEMElement;
(
blockName: string,
elementName: string,
modifierValue: BEMModifierValue
): BEMModifier;
}

export function configure(delimiters: Partial<BEMDelimiters>): bem {
function curried(blockName: string): BEMBlock;
function curried(blockName: string, elementName: string): BEMElement;
Expand Down Expand Up @@ -53,6 +43,16 @@ export function configure(delimiters: Partial<BEMDelimiters>): bem {
return curried;
}

interface bem {
(blockName: string): BEMBlock;
(blockName: string, elementName: string): BEMElement;
(
blockName: string,
elementName: string,
modifierValue: BEMModifierValue
): BEMModifier;
}

const bem = configure(DefaultBEMDelimiters);

export { bem };

0 comments on commit 63bbeea

Please sign in to comment.