File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as fs from "fs/promises";
33import * as fsSync from "fs" ;
44import * as path from "path" ;
55import { setTimeout as nodeSetTimeout } from "timers" ;
6- import * as validate from "validate-npm-package-name" ;
6+ import validate from "validate-npm-package-name" ;
77import {
88 combinePaths ,
99 createGetCanonicalFileName ,
@@ -499,7 +499,7 @@ class NodeTypingsInstaller extends ts.server.typingsInstaller.TypingsInstaller {
499499 private readonly metrics : InstallationMetrics ;
500500 private delayedInitializationError :
501501 | ts . server . InitializationFailedResponse
502- | undefined = undefined ;
502+ | undefined ;
503503
504504 // Implement the abstract typesRegistry property from base class
505505 readonly typesRegistry : Map < string , MapLike < string > > = new Map ( ) ;
@@ -792,7 +792,7 @@ class NodeTypingsInstaller extends ts.server.typingsInstaller.TypingsInstaller {
792792
793793 private async installWorkerAsync (
794794 requestId : number ,
795- packageNames : string [ ] ,
795+ packageNames : readonly string [ ] ,
796796 cwd : string ,
797797 onRequestCompleted : ts . server . typingsInstaller . RequestCompletedAction ,
798798 ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments