paint-brush
Micro-Frontends: Using TypeScript's Ambient Modulesby@raztide
18,329 reads
18,329 reads

Micro-Frontends: Using TypeScript's Ambient Modules

by Leonard Jones2mDecember 23rd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

When cross-sharing micro-frontend imports at runtime your IDE won't be able to find where the module is installed. If you're working in TypeScript you can use ambient modules to add declarations for your cross-shared micro-frontends to improve local development.
featured image - Micro-Frontends: Using TypeScript's Ambient Modules
Leonard Jones HackerNoon profile picture
Leonard Jones

Leonard Jones

@raztide

Software Engineer learning to share what I know and learn from lots of other folks.

0-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

Leonard Jones HackerNoon profile picture
Leonard Jones@raztide
Software Engineer learning to share what I know and learn from lots of other folks.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite