You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove downlevel-dts and legacy type support (#8203)
### WHY are these changes introduced?
Polaris currently supports multiple TypeScript versions by building our
types twice. This breaking change in v11 removes this functionality and
we will only support the current version in the library.
This used to be required to build the props table on
legacy.polaris.shopify.com. This is no longer a requirement with
@martenbjork brilliant work.
### WHAT is this pull request doing?
Removes legacy type support for the library.
---------
Co-authored-by: Ben Scott <227292+BPScott@users.noreply.github.com>
Co-authored-by: Aaron Casanova <32409546+aaronccasanova@users.noreply.github.com>
NodeJS version 14 is no longer supported. NodeJS 18 is recommended and 16 is the minimum supported version.
16
16
17
+
## TypeScript
18
+
19
+
Built types in `@shopify/polaris` have moved from `build/ts/latest` to `build/ts`.
20
+
21
+
**Legacy TypeScript Support**
22
+
23
+
Polaris no longer supports multiple versions of TypeScript with downlevel-dts. Polaris only builds one set of types based on the current version of TypeScript in the project.
0 commit comments