File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ namespace ts {
294
294
return [ ] ;
295
295
}
296
296
297
- const { packageDependencies} = pnpapi . getPackageInformation ( currentPackage ! ) ;
297
+ const { packageDependencies} = pnpapi . getPackageInformation ( currentPackage ) ;
298
298
299
299
const typeRoots : string [ ] = [ ] ;
300
300
for ( const [ name , referencish ] of Array . from < any > ( packageDependencies . entries ( ) ) ) {
@@ -1596,7 +1596,7 @@ namespace ts {
1596
1596
function loadPnpPackageResolution ( packageName : string , containingDirectory : string ) {
1597
1597
try {
1598
1598
const resolution = getPnpApi ( ) . resolveToUnqualified ( packageName , `${ containingDirectory } /` , { considerBuiltins : false } ) ;
1599
- return ts . normalizeSlashes ( resolution ) ;
1599
+ return normalizeSlashes ( resolution ) ;
1600
1600
}
1601
1601
catch {
1602
1602
// Nothing to do
You can’t perform that action at this time.
0 commit comments