Skip to content

Commit 9337e77

Browse files
committed
chore: remove unused method and interface.
1 parent f085dee commit 9337e77

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
22
"private": true,
3+
<<<<<<< HEAD
34
"devDependencies": {
45
"lerna": "^2.5.1"
56
},
7+
=======
8+
"devDependencies": {
9+
"lerna": "^2.5.1"
10+
},
11+
>>>>>>> 65ec8b6... Squash with 4420cd6e5efaf53b5c9ae2a2c4bfd82407cb4373
612
"workspaces": [
713
"packages/*"
814
]

packages/css-blocks/src/Block/Block.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,6 @@ export abstract class BlockObject<StyleType extends Style, ContainerType extends
169169
return inherited;
170170
}
171171

172-
/**
173-
* Standard export method for a given block.
174-
* @param opts Options for rendering cssClass.
175-
* @returns The Export object representing this Style.
176-
*/
177-
asExport(opts: OptionsReader): Export {
178-
return {
179-
identifier: this.localName(),
180-
value: this.cssClass(opts)
181-
};
182-
}
183-
184172
/**
185173
* Debug utility to help log Styles
186174
* @param opts Options for rendering cssClass.
@@ -765,14 +753,6 @@ export interface StateInfo {
765753
name: string;
766754
}
767755

768-
/**
769-
* Interface used when exporting a Style using `asExport`.
770-
*/
771-
export interface Export {
772-
identifier: string;
773-
value: string;
774-
}
775-
776756
/** Parent types for a state */
777757
export type StateParent = BlockClass | State;
778758

0 commit comments

Comments
 (0)