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
Copy file name to clipboardExpand all lines: packages/typescript-estree/src/convert.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3514,7 +3514,7 @@ export class Converter {
3514
3514
: (): Value=>{
3515
3515
if(!warned){
3516
3516
process.emitWarning(
3517
-
`The '${deprecatedKey}' property is deprecated on ${node.type} nodes. Use ${preferredKey} instead. See https://typescript-eslint.io/linting/troubleshooting#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,
3517
+
`The '${deprecatedKey}' property is deprecated on ${node.type} nodes. Use ${preferredKey} instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,
Copy file name to clipboardExpand all lines: packages/typescript-estree/tests/lib/convert.test.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -323,7 +323,7 @@ describe('convert', () => {
323
323
esTsEnumDeclaration.members;
324
324
325
325
expect(emitWarning).toHaveBeenCalledWith(
326
-
`The 'members' property is deprecated on TSEnumDeclaration nodes. Use 'body.members' instead. See https://typescript-eslint.io/troubleshooting/faqs#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,
326
+
`The 'members' property is deprecated on TSEnumDeclaration nodes. Use 'body.members' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,
327
327
'DeprecationWarning',
328
328
);
329
329
});
@@ -387,7 +387,7 @@ describe('convert', () => {
387
387
tsMappedType.typeParameter;
388
388
389
389
expect(emitWarning).toHaveBeenCalledWith(
390
-
`The 'typeParameter' property is deprecated on TSMappedType nodes. Use 'constraint' and 'key' instead. See https://typescript-eslint.io/linting/troubleshooting#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,
390
+
`The 'typeParameter' property is deprecated on TSMappedType nodes. Use 'constraint' and 'key' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,
0 commit comments