Skip to content

Commit bf74eea

Browse files
test
1 parent 587ce7a commit bf74eea

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"build-storybook": "storybook build --docs",
1515
"test": "jest",
1616
"typecheck": "tsc --noEmit",
17-
"build:esm": "tsc && cp -r src/types dist/esm/types",
18-
"build:cjs": "tsc --module commonjs --outDir dist/cjs && cp -r src/types dist/cjs/types",
17+
"build:esm": "tsc",
18+
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
1919
"build": "rm -rf dist && rm -f .tsbuildinfo && npm run build:esm && npm run build:cjs",
2020
"lint-check": "eslint src/ .storybook/",
2121
"lint-fix": "yarn lint-check --fix",

src/components/ThemeProvider/ThemeProvider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import * as buttons from "./buttons"
1010
import * as chips from "./chips"
1111
import { colors } from "./colors"
1212
import type { CustomTheme } from "../../types/theme"
13+
import "../../types/theme"
1314

1415
const shadow = {
1516
shadowOffsetX: 3,

src/types/theme.d.ts renamed to src/types/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface ColorGroup {
99
contrastText: string
1010
}
1111

12-
interface CustomTheme {
12+
export interface CustomTheme {
1313
transitionDuration: string
1414
shadow: string
1515
colors: {
File renamed without changes.

0 commit comments

Comments
 (0)