Skip to content
Advertisement

Tag: typescript

unable to add a border to popup modal

I am using a Popup modal component from the reactjs-popup library. This is how it looks like: I want to add a thick black border to the popup component. How can I do so? My current css doesnt seem to work. Answer You need to set border-style: solid; the default is none. (maybe border-width too)

Eslint with typescript complains it cant find a specific module

eslint complains for one of the module. The module is installed and the code works fine. Only eslint complains. Unable to resolve path to module ‘@azure/functions’.eslintimport/no-unresolved az/index.ts .eslintrc.js folder structure Answer Do import { AzureFunction, Context } from “@azure/functions/Interfaces.d” I checked the code in node_modules and found that there is no index file

Advertisement