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

Function typesPackageExists

test/fixtures/snapshot/typescript.js:51309–51311  ·  view source on GitHub ↗
(packageName)

Source from the content-addressed store, hash-verified

51307 errorOrSuggestion(isError, errorNode, ts.chainDiagnosticMessages(errorInfo, ts.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type, moduleReference, resolvedFileName));
51308 }
51309 function typesPackageExists(packageName) {
51310 return getPackagesMap().has(ts.getTypesPackageName(packageName));
51311 }
51312 function packageBundlesTypes(packageName) {
51313 return !!getPackagesMap().get(packageName);
51314 }

Callers 1

errorOnImplicitAnyModuleFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…