Skip to content

Commit 945f4eb

Browse files
committed
fix types
1 parent ab3b35e commit 945f4eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/components/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
".": {
2222
"import": "./dist/index.es.js",
2323
"require": "./dist/index.umd.js",
24-
"types": "./dist/index.d.ts"
24+
"types": "./dist/components/index.d.ts"
2525
}
2626
},
27-
"types": "dist/index.d.ts",
27+
"types": "dist/components/index.d.ts",
2828
"files": [
2929
"dist"
3030
],

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { App } from '@hyparam/components'
12
import React from 'react'
23
import ReactDOM from 'react-dom/client'
3-
import { App } from '@hyparam/components'
44

55
const app = document.getElementById('app')
66
if (!app) throw new Error('missing app element')

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
"resolveJsonModule": true,
1010
"strict": true,
1111
},
12-
"include": ["src", "test"]
12+
"include": ["src", "test"],
1313
}

0 commit comments

Comments
 (0)