Skip to content

Commit ffabb0d

Browse files
committed
fix: types
1 parent 13e52cb commit ffabb0d

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solved-ac/ui-react",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "React component library used by solved.ac",
55
"author": "shiftpsh",
66
"license": "MIT",

src/typings.d.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
11
// eslint-disable-next-line react/no-typos
22
import 'react'
33

4-
/**
5-
* Default CSS definition for typescript,
6-
* will be overridden with file-specific definitions by rollup
7-
*/
8-
declare module '*.css' {
9-
const content: { [className: string]: string }
10-
export default content
11-
}
12-
13-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
14-
interface SvgrComponent
15-
extends React.FunctionComponent<React.SVGAttributes<SVGElement>> {}
16-
17-
declare module '*.svg' {
18-
const svgUrl: string
19-
const svgComponent: SvgrComponent
20-
export default svgUrl
21-
export { svgComponent as ReactComponent }
22-
}
23-
244
type CustomProp = { [key in `--${string}`]: string | undefined }
255
declare module 'react' {
266
// eslint-disable-next-line @typescript-eslint/no-empty-interface

0 commit comments

Comments
 (0)