MCPcopy Index your code
hub / github.com/nodejs/node / isDeprecatedSymbol

Function isDeprecatedSymbol

test/fixtures/snapshot/typescript.js:49059–49061  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

49057 return diagnostic;
49058 }
49059 function isDeprecatedSymbol(symbol) {
49060 return !!(getDeclarationNodeFlagsFromSymbol(symbol) & 268435456 /* NodeFlags.Deprecated */);
49061 }
49062 function addDeprecatedSuggestion(location, declarations, deprecatedEntity) {
49063 var diagnostic = ts.createDiagnosticForNode(location, ts.Diagnostics._0_is_deprecated, deprecatedEntity);
49064 return addDeprecatedSuggestionWorker(declarations, diagnostic);

Calls 1

Tested by

no test coverage detected