Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Deprecate $ExpectError in favour of @ts‑expect‑error #290

Open
ExE-Boss opened this issue May 17, 2020 · 0 comments
Open

Deprecate $ExpectError in favour of @ts‑expect‑error #290

ExE-Boss opened this issue May 17, 2020 · 0 comments

Comments

@ExE-Boss
Copy link
Contributor

TypeScript 3.9 added the @ts‑expect‑error compiler directive (microsoft/vscode#92093), which makes dtslint’s $ExpectError obsolete.

dtslint shouldn’t consider lines with @ts‑expect‑error instead of $ExpectError as failing the build in TypeScript 3.8 or older and should prefer it for newer DefinitelyTyped projects.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant