<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nupur Kinger on Medium]]></title>
        <description><![CDATA[Stories by Nupur Kinger on Medium]]></description>
        <link>https://medium.com/@nupur.kinger?source=rss-bd51ca13b918------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FG-QeecnicHx7s5zkSCjCg.jpeg</url>
            <title>Stories by Nupur Kinger on Medium</title>
            <link>https://medium.com/@nupur.kinger?source=rss-bd51ca13b918------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 16:18:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nupur.kinger/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Mega Jenga of Health: Why Simple Habits Can Have Big Impacts]]></title>
            <link>https://medium.com/@nupur.kinger/the-mega-jenga-of-health-why-simple-habits-can-have-big-impacts-6ce771558f7c?source=rss-bd51ca13b918------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ce771558f7c</guid>
            <category><![CDATA[lifestyle]]></category>
            <category><![CDATA[wellbeing]]></category>
            <category><![CDATA[holistic-health]]></category>
            <category><![CDATA[stress-management]]></category>
            <category><![CDATA[healthy-lifestyle]]></category>
            <dc:creator><![CDATA[Nupur Kinger]]></dc:creator>
            <pubDate>Thu, 04 Apr 2024 12:40:59 GMT</pubDate>
            <atom:updated>2024-04-04T12:40:59.505Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever played Jenga? That classic game where you carefully remove wooden blocks from a precarious tower, hoping it doesn’t all come crashing down? Imagine that Jenga tower on steroids. This isn’t just a few blocks stacked high; it’s a massive structure sprawling in all directions, with thousands of interconnected pieces. This, my friends, is a metaphor for our health.</p><figure><img alt="A giant Jenga tower with hundreds of blocks horizontally and vertically" src="https://cdn-images-1.medium.com/max/1024/1*1_ja3D4Jj4_Ei7kma2InFQ.jpeg" /><figcaption>The Mega Jenga</figcaption></figure><h3>Foundational blocks</h3><p>Just like the Jenga tower, our health is a complex system built on a foundation of essential elements. These are the foundational blocks, the bedrock of our well-being: sleep, nutrition, hydration, and stress management. These are the most critical pieces, the ones that ensure the entire structure remains stable.</p><h3>Topmost blocks</h3><p>On the very top of our mega Jenga tower, we have the symptoms. These are the easily noticeable signs that tell us if our health is on track. Acne breakouts, hair loss, fatigue, brittle nails — these are all signals from our bodies that something might be off balance.</p><h3>Middle blocks</h3><p>But the most intriguing part lies in the middle. Here, nestled between the foundation and the symptoms, are thousands of interconnected blocks representing various aspects of our health. Some, like blood pressure and heart rate, are readily observable. Others, like the body’s capacity to absorb nutrients, remain hidden beneath the surface. Some of these middle blocks are within our control, influenced by our habits and choices. Others, like genetics, are predetermined.</p><p><strong>The key point? </strong>These interdependent blocks are intricately linked. It’s almost impossible to pinpoint a single reason why a specific symptom, like hair loss, occurs. It could be a nutritional deficiency, insufficient sleep, or even high stress levels wreaking havoc on your cortisol hormones. The interconnectedness makes it challenging to predict what will happen if we try to fix just one block. Similarly, it’s impossible to predict when improvements will be visible.</p><p>However, there are two crucial takeaways from this mega-Jenga analogy:</p><p><strong>The foundational blocks matter the most</strong>. Just like the base of the Jenga tower, prioritizing sleep, healthy eating, proper hydration, and stress management have the most significant impact on your overall health. These habits provide a solid foundation for the entire structure.</p><p><strong>Every block counts</strong>, even if the results are delayed. Addressing any aspect of your health, regardless of its position in the tower, contributes to its overall stability. Think of it like this: by fixing a wobbly block in the middle section, you might not see immediate changes in your hair health (top of the tower). But that effort is still strengthening the overall structure, making it less susceptible to future issues.</p><h3>Putting the Pieces Together: A Practical Guide</h3><p>So, what does this mean for maintaining and improving your health?</p><p><strong>Focus on foundational habits</strong>: Make sure you’re getting enough quality sleep, eating a balanced diet, staying hydrated, and managing stress effectively. These habits are the cornerstones of a healthy lifestyle.</p><p><strong>Listen to your body</strong>: Pay attention to the symptoms it throws your way. However, don’t jump to conclusions — the cause might be deeper than you think.</p><p><strong>Take a holistic approach</strong>: Don’t obsess over individual numbers or biomarkers. Remember, health is a complex system, and a single data point doesn’t tell the whole story. Focus on making gradual, sustainable changes that address multiple aspects of your health.</p><p><strong>Seek professional guidance</strong>: If you’re concerned about your health, don’t hesitate to talk to a doctor or a registered dietitian. They can help you understand your unique needs and develop a personalized plan to address the underlying issues.</p><p>Remember, even small improvements in your foundational habits can have a significant ripple effect, ultimately leading to a more stable and resilient you. So, start building your own mega Jenga of health — one healthy habit at a time!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ce771558f7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 5 ways to cope with digestion issues during pregnancy]]></title>
            <link>https://medium.com/@nupur.kinger/top-5-ways-to-cope-with-digestion-issues-during-pregnancy-c3159dff5b5f?source=rss-bd51ca13b918------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3159dff5b5f</guid>
            <category><![CDATA[pregnancy]]></category>
            <category><![CDATA[constipation]]></category>
            <category><![CDATA[indigestion]]></category>
            <category><![CDATA[acidity]]></category>
            <category><![CDATA[bloating]]></category>
            <dc:creator><![CDATA[Nupur Kinger]]></dc:creator>
            <pubDate>Sat, 23 Apr 2022 10:17:13 GMT</pubDate>
            <atom:updated>2022-04-23T10:23:32.960Z</atom:updated>
            <content:encoded><![CDATA[<h3>Top 5 ways to cope with digestive issues during pregnancy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CUFSHE2AbwIE15zD" /><figcaption>Photo by <a href="https://unsplash.com/@juanencalada?utm_source=medium&amp;utm_medium=referral">Juan Encalada</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I’m in no way a medical professional. But like many other reading enthusiasts, I love to do my research, try things and share with others.</p><p>I share here some digestion-related tips that made my pregnancy journey so smooth that I won’t be afraid to do it all over again. That being said, everyone’s body is different, and not all things that worked on me may work on you. But if you are also dealing with gastric issues, constipation, and acidity during your pregnancy, these are all worth a try.</p><ol><li><strong>ASAFOETIDA</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wHU-W7tLFl3hTWn0fXWDxg.jpeg" /></figure><p>Popularly known as <em>Hing</em> in India (in Hindi), asafoetida is a medicinal herb used since ancient times for treating digestion issues.</p><p>There are 2 ways to use this herb.</p><ul><li><strong>Orally</strong></li></ul><p>Take a pinch of asafoetida powder (not more than that) and add it to the sauté of your meal. That’s it!</p><p>Just remember that this has a very pungent smell and taste. Some may like it and some won’t. I personally love it :)</p><ul><li><strong>Topically</strong></li></ul><p>Mix a little asafoetida with water/coconut oil and apply it to your naval. This may take some time and multiple applications but this is totally safe and effective during pregnancy. This is also used for infants in many countries for colic. If you’d like to give it a try, you can easily find infant <a href="https://amzn.to/3jUKRPZ">roll-ons</a> and tinctures in the market.</p><p><strong>2. PROBIOTICS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fggeTgmj93M9ZDys" /><figcaption>Photo by <a href="https://unsplash.com/@tiard?utm_source=medium&amp;utm_medium=referral">Tiard Schulz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>No, I don’t mean the packaged probiotics bottles or capsules available OTC (although this could be a second preference). I am referring here to the more natural sources like Yogurt, Kimchi, Kefir, Kombucha, or whatever is available in your region. I personally used the home set Indian version of yogurt — <em>Curd</em>.</p><p>A daily dose of probiotics gives some support to our digestive system, which is taking a toll (amongst many other things) during pregnancy. The appropriate amount to eat or drink depends on what exactly are you taking.</p><p>What I like about these recipes is that even if they don’t help your digestion (highly unlikely), they are still very nutritious and delicious.</p><p><strong>3. FENNEL SEEDS</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sCWLQXeLAyPdATmhKt0T9g.jpeg" /></figure><p>One of my favorites is Fennel seeds, which I keep a jar full always with me, even when I am not pregnant anymore. Fennel is not just a medicinal herb but a culinary delight too. These bulby green seeds have always been used in alternative medicine for digestion and gastric issues. There are endless ways to use these.</p><ul><li>Easiest is to take a spoonful after every meal (2–3 times a day), chew thoroughly, and swallow. Fennel seeds are the staple mouth freshener in most Indian restaurants.</li><li>Boil them in water and use them in tea.</li><li>Dry roast, crush into powder and eat it as mouth freshener (optionally with added sugar) or use it as a condiment in soups, sauces, curries, and drinks.</li><li>Ferment them.</li></ul><p><strong>4. YOGA</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-1a86XvSAJldrw1g" /><figcaption>Photo by <a href="https://unsplash.com/@danewett?utm_source=medium&amp;utm_medium=referral">Dane Wetton</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We say in Hindi “<em>Yoga se hi hoga</em>”, which translates to “<em>Only through Yoga, it will happen</em>”. Well, not always true, but applies to all no-risk pregnancies.</p><p>Prenatal Yoga is so popular now that there are instructors available online and in many countries too. There are Yoga asanas that help achieve specific purposes, digestion being one of them. With some, you will feel the release of trapped gas immediately.</p><p>Yoga comes with so many added benefits during pregnancy (deep breathing, meditation, strengthening and flexibility of muscles, etc) that it was an indispensable part of my journey.</p><p>In Yoga, there are multiple recommendations about how to and how not to stretch with a life growing inside you. So, having a specialized instructor to help you is a must. And make sure that you check with your OBGYN first and do not start before 13 weeks of gestation.</p><p><strong>5. WALK</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*u9y7h5-7yRtOY9Gh" /><figcaption>Photo by <a href="https://unsplash.com/@mason_hassoun?utm_source=medium&amp;utm_medium=referral">Mason Hassoun</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Unless you are going through a risky pregnancy, every OBGYN will suggest you go for daily walks. Walking helps you move your food for better digestion. It is both a prevention and a cure for all the digestion problems — bloating, acid reflux, overeating, and constipation.</p><p>Not just that, during pregnancy, walking is a safe cardiovascular exercise, helps move the baby in the correct position, reduces the risk of gestational diabetes, prevents you from getting over-weight, eases back pain, improves sleep quality, and keeps leg muscles strong making way for a quicker recovery. The list is practically endless.</p><p><strong>How much to walk per day? </strong>The trick here is to walk just before your point of exhaustion. Stop before you start to feel tired or achy. This may vary each day.</p><p>In addition to the favorites that I listed above, I also followed a general routine of adding ginger and garlic to my meals, chewing a lot before swallowing my food, and never taking any type of caffeine on an empty stomach.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3159dff5b5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Progressive Enhancement to PWAs]]></title>
            <link>https://medium.com/eqs-tech-blog/progressive-enhancement-to-pwas-4315b821b2ad?source=rss-bd51ca13b918------2</link>
            <guid isPermaLink="false">https://medium.com/p/4315b821b2ad</guid>
            <category><![CDATA[browsers]]></category>
            <category><![CDATA[webdev]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[pwa]]></category>
            <dc:creator><![CDATA[Nupur Kinger]]></dc:creator>
            <pubDate>Fri, 15 Oct 2021 10:44:13 GMT</pubDate>
            <atom:updated>2021-10-15T10:44:13.350Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is all this rage about PWAs?</strong></p><p>3 words — Capable, reliable, and installable. PWAs are web apps that are based on these three pillars or in other words, these three things make an otherwise normal web app be categorized as <a href="https://web.dev/progressive-web-apps/?gclid=Cj0KCQjwqp-LBhDQARIsAO0a6aI3ikAZQc-9KEPf-3rNY7PwmPPeo_67DnZ_p6cn4gcAKdbSiPdgRV8aAkI-EALw_wcB">Progressive Web App</a>.</p><p>Let’s look at these three in reverse order:</p><p><strong>Installability</strong></p><p>A PWA is installable on the user’s device (based on some <a href="https://web.dev/install-criteria/"><em>install criteria</em></a>), thus providing a better user experience. For example, they appear on OS launch surfaces, run in their own application window (instead of a browser tab), show up in activity switchers and device search engines, and many more.</p><p><a href="https://web.dev/codelab-make-installable/">How to make a web app installable</a> is beyond the scope of this article, but to get started, web app manifests do the magic.</p><p><strong>Reliability</strong></p><p>A reliable Progressive Web App doesn’t feel useless without a network but the usual web apps do. Like native device apps, a PWA is designed to start up, be usable and interact with content (usually from caches) even with a slow or dead network connection. In short, users never get <em>nothing</em>. PWAs are also expected to be faster as compared to usual web apps for a better user experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/244/1*0tbm0dHwNvQkuX2L6kodvg.jpeg" /></figure><p>Think of accessing the YouTube app without network availability. Users don’t get <em>nothing</em>. There is a user-friendly ‘No connection’ message, but the app itself is still usable, especially if the user has downloaded videos. And as soon as the network becomes available, the app informs ‘Back online’ and starts syncing the data. The behavior, although not the best, is still much better than a web app that does nothing without a network connection.</p><p>Service workers, <a href="https://web.dev/add-manifest/">web app manifests</a>, and many other solutions for web storage and caching help make the PWA feel more reliable.</p><p><strong>Capability</strong></p><p>This is where the word ‘Progressive’ plays the most important role.</p><p>To understand this, there is a need to understand the difference between a web app and a native device app, especially in terms of capabilities and reach. A web app has undoubtedly far better reach than a platform-specific app but the native apps outdo web apps in terms of capabilities. As illustrated by <a href="https://web.dev/what-are-pwas/">web.dev</a>, PWAs intend to have the best of both worlds. PWAs should still have the reach of web apps and the capabilities of a native device app (as much as possible), by <em>progressively enhancing</em> the capabilities of the app.</p><p>Using web app manifests and service workers is the first step to enable a web app to start behaving like a native app. To bridge the gap further, progressive enhancement comes into play. <em>Progressive enhancement</em> is about using modern web capabilities to add platform-specific features to web apps. For example, sharing mechanisms of the device, accessing file systems, push notifications, etc. These capabilities are made possible by making use of the open <a href="https://developer.mozilla.org/en-US/docs/Web/API">Web APIs</a>, which are being actively developed and integrated by more and more browsers. <a href="https://caniuse.com/">Can I Use</a> is by far the best and the most reliable source to track the status of these APIs per browser version.</p><ul><li>Consider <a href="https://blog.twitter.com/en_us/topics/product/2017/introducing-twitter-lite">Twitter Lite</a> as an example which is the PWA version of Twitter and came to life in 2017. It is more reliable on slow connections, uses less data on the network, loads faster, and uses less space on the device. The app uses multiple Web APIs to incrementally improve performance and user experience. Some of these are <a href="https://developer.mozilla.org/en-US/docs/Web/API/Push_API">Push API</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/indexedDB">Indexed DB</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker">Service Workers</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline">Idle Deadlines</a>, and possibly many more.</li><li><a href="https://goibibo.com/">Goibibo</a>, India’s leading online travel booking portal is no stranger to a Progressive Web App either. They also observed a tangible 60% increase in conversions with PWA. They used <a href="https://developer.mozilla.org/en-US/docs/Web/API/Contact_Picker_API">Contact Picker API</a> to enable PWA users to fill in details of their family and friends and <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_API">Web Share API</a> to enable sharing hotel details and train availabilities. <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebOTP_API">Web OTP API</a> helped them secure authentications and <a href="https://developer.mozilla.org/en-US/docs/Web/API/Push_API">Push API</a> to deliver asynchronous notifications.</li><li><a href="https://tinder.com/">Tinder Online</a> also uses <a href="https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorker">Service Workers</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/Push_API">Push Notifications</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline">requestIdleCallbacks</a>, and many other JS performance optimization APIs to progressively enhance their PWA.</li></ul><p>Statistics show that many organizations have better customer retention, page visits, and user engagements with PWAs. In conclusion, PWAs are indeed just websites, but with progressive enhancements, they are less website-like and more app-like.</p><p>Does your heartbeat for developing exciting SaaS products? We are always looking for motivated new team members. Take a look at our vacancies: <a href="https://eqs-group.personio.de/recruiting/positions">https://eqs-group.personio.de/recruiting/positions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4315b821b2ad" width="1" height="1" alt=""><hr><p><a href="https://medium.com/eqs-tech-blog/progressive-enhancement-to-pwas-4315b821b2ad">Progressive Enhancement to PWAs</a> was originally published in <a href="https://medium.com/eqs-tech-blog">EQS Engineering Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TypeScript Top Types]]></title>
            <link>https://medium.com/eqs-tech-blog/typescript-top-types-db174c0bc668?source=rss-bd51ca13b918------2</link>
            <guid isPermaLink="false">https://medium.com/p/db174c0bc668</guid>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[type-systems]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[unknown]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Nupur Kinger]]></dc:creator>
            <pubDate>Fri, 20 Aug 2021 13:34:29 GMT</pubDate>
            <atom:updated>2021-08-20T13:34:29.234Z</atom:updated>
            <content:encoded><![CDATA[<p>In mathematical logic, a <em>top type</em> is often called a <em>universal type</em>, or <em>universal supertype</em> because it is a supertype of all other types in the system. This is in contrast to the <em>bottom type</em> often called a <em>universal subtype</em> because it is most commonly a subtype of all other types in the system.</p><p>This can be visualized with a Venn Diagram as this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LMhUvG7Y94rV3lP6kDjZXw.jpeg" /><figcaption>Types in any type system</figcaption></figure><p>In TypeScript, there are two top types <em>unknown </em>and <em>any</em>, and <em>never </em>is the only bottom type.</p><p>Most of us are very well aware of <em>any </em>type in TypeScript. It&#39;s the starting point of our migration from JavaScript to TypeScript codes. Just like all types are assignable to <em>any</em>, all types are also assignable to “<em>unknown”</em>. The difference lies in what types can these top types be assigned to. <em>Any </em>can be assigned to anything. <em>Unknown</em>, on the contrary, can not be assigned to anything except <em>unknown </em>itself and <em>any, </em>without type assertions.</p><pre>let anyVar: any;<br>let unknownVar: unknown;</pre><pre>let stringVar: String;<br>let numberVar: Number;</pre><pre>// All types are assignable to any<br>anyVar = stringVar; // OK<br>anyVar = numberVar; // OK<br>anyVar = unknownVar; // OK</pre><pre>// All types are assignable to unknown<br>unknownVar = stringVar; // OK<br>unknownVar = numberVar; // OK<br>unknownVar = anyVar; // OK</pre><pre>// any can be assigned to everything<br>stringVar = anyVar; // OK<br>numberVar = anyVar; // OK<br>unknownVar = anyVar; // OK</pre><pre>// unknown can&#39;t be assigned to everything<br>stringVar = unknownVar; // NOT OK<br>numberVar = unknownVar; // NOT OK<br>anyVar = unknownVar; // OK</pre><p><em>“unknown” </em>can be assigned to other types after type assertions though.</p><pre>stringVar = unknownVar as String;<br>numberVar = unknownVar as Number;</pre><p>In other words, we can say that “<em>any” </em>is a way out from the type system. The popular opinion is that <em>any </em>is too liberal and counters the first purpose of using TypeScript over JavaScript. (And that is why the strict mode of TypeScript).</p><p>Following is an example of how <em>any </em>type can be problematic at runtime, which leads us back to the original problems of JavaScript. “<em>unknown”</em>, on the contrary,<em> </em>saves us at compile time.</p><pre>let anyVar: any = 10;<br>let unknownVar: unknown = 10;</pre><pre>convertCase(x: String): String {<br>    return x.toLowerCase();<br>}</pre><pre>convertCase(anyVar); // Compiles but fails at runtime<br>convertCase(unknownVar); // Fails at compile time</pre><p><strong>So, what can I do with the <em>unknown</em>?</strong></p><p>We are forced to type check with “<em>unknowns”</em>, which gives us a little more type-safety than “<em>any”</em>.</p><ol><li>Use type checking</li></ol><pre>let unknownVar: unknown = &quot;Nupur&quot;;<br>if (typeof unknownVar === &quot;string&quot;) {<br>    convertCase(unknownVar); // OK, because inside this if, <em>unknownVar </em>is a string.<br>}</pre><p>2. Use in type guard functions</p><pre>isValueString(value: unknown): value is String {<br>    return typeof value === &quot;string&quot;;<br>}</pre><pre>let unknownVar: unknown = &quot;Nupur&quot;;<br>if (isValueString(unknownVar)) {<br>  convertCase(unknownVar); // OK<br>}</pre><p>3. Use type assertions</p><pre>convertCase(unknownVar as String); // Compiles, but not recommended.</pre><p><strong>Great! What else should I know about the “<em>unknown” </em>type?</strong></p><ul><li>In an intersection, everything absorbs “<em>unknown”</em></li><li>In a union “<em>unknown” </em>absorbs everything</li><li>keyof operator on “<em>unknown” </em>returns <em>never</em></li><li>Equality operators (===, !==) are allowed with “<em>unknown”</em></li><li>The spread operator on an <em>unknown </em>value results in “<em>unknown”</em></li><li>Functions with “<em>unknown” </em>return type don’t need return expression</li></ul><p>For more information and examples, always refer to the <a href="https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html">official release notes of Typescript</a>.</p><p>Cheers !!</p><p>Does your heart beat for developing exciting SaaS products? We are always looking for motivated new team members. Take a look at our vacancies: <a href="https://eqs-group.personio.de/recruiting/positions">https://eqs-group.personio.de/recruiting/positions</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db174c0bc668" width="1" height="1" alt=""><hr><p><a href="https://medium.com/eqs-tech-blog/typescript-top-types-db174c0bc668">TypeScript Top Types</a> was originally published in <a href="https://medium.com/eqs-tech-blog">EQS Engineering Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>