Skip to content

Commit

Permalink
Fix TSC error for yarn build:docs (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillsud authored Dec 28, 2023
1 parent 7ad523e commit c6abcef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ jobs:
- name: Test build
run: yarn && yarn build
working-directory: packages/miro-api

- name: Test build docs
run: yarn build:docs
working-directory: packages/miro-api
2 changes: 1 addition & 1 deletion packages/miro-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"clean": "rm -Rf node_modules/ *.js",
"build": "tsc",
"prebuild:docs": "tsc --jsx react docs-theme/index.tsx --jsxFactory JSX.createElement --jsxFragmentFactory JSX.Fragment --target es2016 --module commonjs",
"prebuild:docs": "tsc --jsx react docs-theme/index.tsx --jsxFactory JSX.createElement --jsxFragmentFactory JSX.Fragment --target es2016 --module commonjs --esModuleInterop",
"build:docs": "typedoc",
"test": "jest",
"coverage": "jest --coverage --coverageDirectory coverage --coverageReporters clover"
Expand Down

0 comments on commit c6abcef

Please sign in to comment.