module-federation / core

Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications
https://module-federation.io/
MIT License
1.27k stars 182 forks source link

fix(runtime): modify import typescript type syntax #2650

Closed chs97 closed 1 week ago

chs97 commented 1 week ago

Description

Change import TypeScript Type syntax, Make it support TS version lower than 4.5 image

Related Issue

Types of changes

Checklist

changeset-bot[bot] commented 1 week ago

⚠️ No Changeset found

Latest commit: c835989b1ad5a95ebd83807982ddbf14e6df26aa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

netlify[bot] commented 1 week ago

Deploy Preview for module-federation-docs ready!

Name Link
Latest commit c835989b1ad5a95ebd83807982ddbf14e6df26aa
Latest deploy log https://app.netlify.com/sites/module-federation-docs/deploys/6679cbbc3fa03200084275d2
Deploy Preview https://deploy-preview-2650--module-federation-docs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.