DEV Community

Discussion on: TypeScript is wasting my time

Collapse
 
birdtho profile image
Christopher Thomas

You know you can adjust and manually relax eslint rules, some to warnings, others to off. Like the rules for implicit any.

Also casting types is good, like if you got the JSON.parse example, cast all your local storage.get() as string

I wouldn't use inject: (name: string, plugin: any) => void