Skip to content

Commit bb19596

Browse files
committed
Fix invalid package.json syntax
1 parent f31e828 commit bb19596

8 files changed

+8
-8
lines changed

tests/baselines/reference/jsxClassAttributeResolution.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ file.tsx(2,19): error TS2741: Property 'ref' is missing in type '{}' but require
1212
"name": "@types/react",
1313
"version": "0.0.1",
1414
"main": "",
15-
"types": "index.d.ts",
15+
"types": "index.d.ts"
1616
}
1717
==== node_modules/@types/react/index.d.ts (0 errors) ====
1818
interface IntrinsicClassAttributesAlias<T> {

tests/baselines/reference/jsxClassAttributeResolution.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const a = <App></App>;
88
"name": "@types/react",
99
"version": "0.0.1",
1010
"main": "",
11-
"types": "index.d.ts",
11+
"types": "index.d.ts"
1212
}
1313
//// [index.d.ts]
1414
interface IntrinsicClassAttributesAlias<T> {

tests/cases/compiler/jsxClassAttributeResolution.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const a = <App></App>;
88
"name": "@types/react",
99
"version": "0.0.1",
1010
"main": "",
11-
"types": "index.d.ts",
11+
"types": "index.d.ts"
1212
}
1313
// @filename: node_modules/@types/react/index.d.ts
1414
interface IntrinsicClassAttributesAlias<T> {

tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports47.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// @filename: node_modules/react/package.json
1010
////{
1111
//// "name": "react",
12-
//// "types": "index.d.ts",
12+
//// "types": "index.d.ts"
1313
////}
1414

1515
// @filename: node_modules/react/index.d.ts

tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports48.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// @filename: node_modules/react/package.json
1010
////{
1111
//// "name": "react",
12-
//// "types": "index.d.ts",
12+
//// "types": "index.d.ts"
1313
////}
1414

1515
// @filename: node_modules/react/index.d.ts

tests/cases/fourslash/organizeImportsReactJsx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// @filename: node_modules/react/package.json
1414
////{
1515
//// "name": "react",
16-
//// "types": "index.d.ts",
16+
//// "types": "index.d.ts"
1717
////}
1818

1919
// @filename: node_modules/react/index.d.ts

tests/cases/fourslash/organizeImportsReactJsxDev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// @filename: node_modules/react/package.json
1414
////{
1515
//// "name": "react",
16-
//// "types": "index.d.ts",
16+
//// "types": "index.d.ts"
1717
////}
1818

1919
// @filename: node_modules/react/index.d.ts

tests/cases/fourslash/server/importSuggestionsCache_invalidPackageJson.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @Filename: /home/src/workspaces/project/jsconfig.json
44
////{
55
//// "compilerOptions": {
6-
//// "module": "commonjs",
6+
//// "module": "commonjs"
77
//// },
88
////}
99

0 commit comments

Comments
 (0)