You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run carbon-components-angular project itself. I was not able to run storybook, due to error in Terminal. I'm on the latest master, with the last commit being ef584a0
Steps to reproduce the issue
Git clone the project
run npm install
run npm run storybook
unable to run storybook, with the following error shown in Terminal:
ERROR in ./src/modal/modal.service.ts
[tsl] ERROR in /Users/panpanlin/git/carbon-components-angular/src/modal/modal.service.ts(89,109)
TS1122: A tuple type element list cannot be empty.
Additional information
screenshot
Noticed in the screenshot that my Visual Studio Code editor is also complaining about the empty tuple type element for `buttons` on line 89 of the file `/src/modal/modal.service.ts`.
note
As a workaround, I change buttons?: [] to buttons?: any in the offending line in the code base.
Detailed description
This is a bug or a general issue.
I am trying to run carbon-components-angular project itself. I was not able to run storybook, due to error in Terminal. I'm on the latest master, with the last commit being ef584a0
Steps to reproduce the issue
npm install
npm run storybook
Additional information

Noticed in the screenshot that my Visual Studio Code editor is also complaining about the empty tuple type element for `buttons` on line 89 of the file `/src/modal/modal.service.ts`.As a workaround, I change
buttons?: []
tobuttons?: any
in the offending line in the code base.Not sure if it is related to: microsoft/TypeScript#6524
The text was updated successfully, but these errors were encountered: