Skip to content

Commit

Permalink
Fixed actual typescript example
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Jul 9, 2023
1 parent 201979b commit 33618a3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
10 changes: 4 additions & 6 deletions examples/react-example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"moduleResolution": "node",
"moduleResolution": "bundler",
"target": "es5",
"lib": ["es6", "dom"],
"module": "esnext",
Expand All @@ -26,8 +26,6 @@
"experimentalDecorators": true,
"downlevelIteration": true,
"pretty": true
},
"exclude": [
"node_modules",
]
}
},
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion examples/react-example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
],
},
devServer: {
contentBase: [
static: [
path.join(__dirname, "dist"),
path.join(__dirname, "../../node_modules/superstore-arrow"),
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"typedoc": "^0.23.0",
"typedoc-plugin-markdown": "^3.14.0",
"typedoc-plugin-no-inherit": "^1.4.0",
"typescript": "4.9.4",
"typescript": "5.1.6",
"webpack": "^5.60.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.11.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/perspective-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"src/**/*",
"perspective"
],
"typings": "index.d.ts",
"types": "index.d.ts",
"scripts": {
"clean": "rimraf build"
},
Expand Down
5 changes: 4 additions & 1 deletion rust/perspective-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"unpkg": "dist/cdn/perspective-viewer.js",
"jsdelivr": "dist/cdn/perspective-viewer.js",
"exports": {
".": "./dist/esm/perspective-viewer.inline.js",
".": {
"types": "./dist/esm/perspective-viewer.d.ts",
"default": "./dist/esm/perspective-viewer.inline.js"
},
"./dist/*": "./dist/*",
"./src/*": "./src/*",
"./test/*": "./test/*",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15590,10 +15590,10 @@ typedoc@^0.23.0:
minimatch "^5.1.2"
shiki "^0.12.1"

typescript@4.9.4:
version "4.9.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78"
integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==
typescript@5.1.6:
version "5.1.6"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274"
integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==

typescript@~4.1.3:
version "4.1.6"
Expand Down

0 comments on commit 33618a3

Please sign in to comment.