> For the complete documentation index, see [llms.txt](https://bryan-guner.gitbook.io/duke/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bryan-guner.gitbook.io/duke/code/types.ts.md).

# Types.ts

#### Code:

```typescript
interface ctaTypes {
  //https:
  //stackoverflow.com/questions/67494696/typescript-require-at-least-one-property
  target?: string;
  href?: string;
  text?: string;
}

//how do I make the namespace errors go away?
interface NewsBannerProps {
  title: JSS.TextField;
  icon: JSS.ImageField;
  rounded?: boolean;
  cta?: ctaTypes;
  body?: JSS.TextField;
  bgColorClass?: string;
  color?: string;
}
export type { NewsBannerProps };
```

> end of code
