Skip to content

Commit 373b352

Browse files
Rename 'compat' to 'deprecatedCompat'. (#41000)
1 parent 075477f commit 373b352

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

src/compiler/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace ts {
2121
let SourceFileConstructor: new (kind: SyntaxKind, pos?: number, end?: number) => Node;
2222

2323
/**
24-
* NOTE: You should not use this, it is only exported to support `createNode` in `~/src/compat/deprecations.ts`.
24+
* NOTE: You should not use this, it is only exported to support `createNode` in `~/src/deprecatedCompat/deprecations.ts`.
2525
*/
2626
/* @internal */
2727
export const parseBaseNodeFactory: BaseNodeFactory = {
File renamed without changes.

src/compat/tsconfig.json renamed to src/deprecatedCompat/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../tsconfig-base",
33
"compilerOptions": {
4-
"outFile": "../../built/local/compat.js"
4+
"outFile": "../../built/local/deprecatedCompat.js"
55
},
66
"references": [
77
{ "path": "../compiler" }

src/tsserver/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
{ "path": "../services", "prepend": true },
1616
{ "path": "../jsTyping", "prepend": true },
1717
{ "path": "../server", "prepend": true },
18-
{ "path": "../compat", "prepend": true }
18+
{ "path": "../deprecatedCompat", "prepend": true }
1919
]
2020
}

src/tsserverlibrary/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
{ "path": "../jsTyping", "prepend": true },
1313
{ "path": "../services", "prepend": true },
1414
{ "path": "../server", "prepend": true },
15-
{ "path": "../compat", "prepend": true }
15+
{ "path": "../deprecatedCompat", "prepend": true }
1616
]
1717
}

src/typescriptServices/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
{ "path": "../compiler", "prepend": true },
1212
{ "path": "../jsTyping", "prepend": true },
1313
{ "path": "../services", "prepend": true },
14-
{ "path": "../compat", "prepend": true }
14+
{ "path": "../deprecatedCompat", "prepend": true }
1515
]
1616
}

0 commit comments

Comments
 (0)