Skip to content

Commit

Permalink
chore(react): revert typescript changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aykut Saraç committed Oct 2, 2023
1 parent 649a016 commit b1abf66
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 10 deletions.
62 changes: 54 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"stylelint": "^15.10.2",
"stylelint-config-standard": "^34.0.0",
"ts-lit-plugin": "^1.2.1",
"typescript": "5.2.2",
"typescript": "4.6.3",
"wait-on": "^5.3.0"
},
"customElements": "dist/custom-elements.json"
Expand Down
3 changes: 2 additions & 1 deletion scripts/generate-react-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ function getReactEventName(baklavaEventName) {
function writeBaklavaReactFile(fileContentParts) {
const constructorType = `type Constructor<T> = { new (): T };`;


const content = [
`/* eslint-disable @typescript-eslint/ban-ts-comment */`,
`// @ts-nocheck`,
...importStatements,
...eventStatements,
constructorType,
Expand Down

0 comments on commit b1abf66

Please sign in to comment.