developit / developit/preact-markup
TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.
Open
- Dominant language
- JavaScript
- Stars
- 207
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
The index.d.ts file declaring `class Markup extends Component...` (line 26) should read
`declare class Markup extends Component...`
Otherwise the newer versions of TS will complain.
PR #47 will resolve this.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open index.d.ts and inspect the top-level class declaration at line 26. Add the required modifier described in the issue, then verify that newer TypeScript versions no longer report TS1046; note that the issue says PR #47 will resolve it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100