Answer: in tsconfig.json, add compilerOptions.lib = ["es2018"]
The lack of `"dom"` will remove `window` globals.
I want to use `node-fetch` because Node.js annoyingly does not have `fetch`, but TypeScript keeps complaining `fetch` was also declared in lib.dom.d.ts. This is a Node.js-only app, which does not have DOM. How do I fix this other than renaming the import? #nodejs
Inspired by Mozilla’s anti tracking policy, Apple wrote its own WebKit Tracking Prevention Policy for Safari. It’s good. #privacy https://webkit.org/tracking-prevention-policy/
#Introductions Hey fediverse!
I’m a Californian living in Sverige 🇸🇪.
I’m interested in
👨🏽💻 #software #APIs
🏋🏽♂️ #fitness
⚖️ #digitalRights
🌍 #environmentalism
🚆 #traveling
🖼 #art
💵 #business
📊 #economics
📚 #history
🤖 #sci-fi
👬 #sexymen 🏳️🌈
IT DOESN’T NEED AMP. It’s entirely static, is as fast as or faster than AMP sites, and is served from a fast global CDN with aggressive caching.
I’m INCREDIBLY tired of Google abusing their position as the global search monopoly to push their tech on sites or fear being demoted.
I work in tech, fight for digital rights and the environment, kiss dudes, cycle, lift heavy things, and don’t eat animals. Swedish immigrant, US American emigrant. Occasionally shirtless.
🇪🇺 🇸🇪 🏳️🌈
My server does not support DMs, so use my contact page.
#APIs #DX #environmentalist #EU #fedi22 #fitness #gay #Interledger #LGBTQ #MobileCoin #Nacka #openSource #plants #privacy #programming #Stockholm #Sverige #tech #technology #webDev #WebMonetization #vegan