eslint-plugin-mgw-eslint-rules 2.2.52 → 2.2.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12049,7 +12049,7 @@ var rule4 = createRule4({
|
|
|
12049
12049
|
if (isPrimitiveLiteral) {
|
|
12050
12050
|
const typeAnnotation = node.typeAnnotation;
|
|
12051
12051
|
context.report({
|
|
12052
|
-
node: node.
|
|
12052
|
+
node: node.key,
|
|
12053
12053
|
messageId: "noInferrableTypesReadonlyProperties",
|
|
12054
12054
|
data: {
|
|
12055
12055
|
type: getTypeString(typeAnnotation)
|