DEV Community

Chris McLeod
Chris McLeod

Posted on

1 1

Typescript Suggestion: unknown

All data types coming from "outside" your system should be typed as unknown and mapped through an anti-corruption layer to give them their type inside your system.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more