intuit / intuit/design-systems-cli
Options issue in styled.tsx
- Dominant language
- TypeScript
- Stars
- 419
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
https://github.com/intuit/design-systems-cli/blob/master/packages/utils/src/utils/styled.tsx#L58
I think `options` should be made optional, and then this should check if options exists. We are getting an error on:
`TypeError: Cannot read properties of undefined (reading 'class')`.
**To Reproduce**
Run the VSCode debugger on a project with an `@ids-ts` component in it. NOTE: this only shows up on the debugger, it works fine when run via `yarn test`.
**Expected behavior**
**Screenshots**

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.