Parsing error: ‘=’ expected in `import type`

UPDATE: The syntax is now supported by the latest versions of @typescript-eslint/parser and @typescript-eslint/eslint-plugin. ESLint support for TS import type syntax is working in progress. Issue: https://github.com/typescript-eslint/typescript-eslint/issues/1436 Pull request: https://github.com/typescript-eslint/typescript-eslint/pull/1465

Uninstalling Expo CLI

To completely uninstall expo cli On Windows The first step npm -g uninstall expo-cli –save (also yarn global remove expo-cli if you use yarn). Second cd %USERPROFILE% && rmdir /Q /S .expo On Mac OS Catalina The first step npm -g uninstall expo-cli –save (also yarn global remove expo-cli if you use yarn). Second cd … Read more

What is the significance of browserslist in package.json created by create-react-app

What is Browserslist? Browserslist is a tool that allows specifying which browsers should be supported in your frontend app by specifying “queries” in a config file. It’s used by frameworks/libraries such as React, Angular and Vue, but it’s not limited to them. Why would we want it? During development we want to use the latest … Read more

tech