We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TS1170
5.7.0
1 parent 2cb161e commit 94d8868Copy full SHA for 94d8868
.changeset/tidy-planets-lie.md
@@ -0,0 +1,5 @@
1
+---
2
+'@module-federation/sdk': patch
3
4
+
5
+Fix a Typescript TS1170 error with the SDK on Typescript > 5.7.0
packages/sdk/src/constant.ts
@@ -7,7 +7,7 @@ export const NameTransformSymbol = {
7
AT: '@',
8
HYPHEN: '-',
9
SLASH: '/',
10
-};
+} as const;
11
export const NameTransformMap = {
12
[NameTransformSymbol.AT]: 'scope_',
13
[NameTransformSymbol.HYPHEN]: '_',
0 commit comments