adro.codes
  • Welcome
    • Gamification
    • React - Micro Contexts
    • 11 unit test rules
    • Using the Pub/Sub pattern in a Micro Frontend
    • Response validation with Yup
    • Architecture definition for a button component
    • Applying Recursion when rendering in React
    • Change your document title when a user changes tabs
    • Creating a chrome extension with React
    • PWA: FetchEvent.respondWith error on Safari
    • Principles
    • Module Driven Development
    • Import JSON into your Typescript project
    • Merge to SearchURLParams objects
      • Show custom editor warnings on Nodes
  • Welcome
    • Gamification
    • React - Micro Contexts
    • 11 unit test rules
    • Using the Pub/Sub pattern in a Micro Frontend
    • Response validation with Yup
    • Architecture definition for a button component
    • Applying Recursion when rendering in React
    • Change your document title when a user changes tabs
    • Creating a chrome extension with React
    • PWA: FetchEvent.respondWith error on Safari
    • Principles
    • Module Driven Development
    • Import JSON into your Typescript project
    • Merge to SearchURLParams objects
      • Show custom editor warnings on Nodes

Import JSON into your Typescript project

In your tsconfig.json file. Make sure that the following options are set to true.

  • resolveJsonModule
  • esModuleInterop
Module Driven Development
Merge to SearchURLParams objects

MIT 2022 © Adriaan Janse van Rensburg.