developit / developit/preact-markup

TS1046: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.