File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ namespace ts.server.protocol {
225
225
/**
226
226
* Contains extra information that plugin can include to be passed on
227
227
*/
228
- metadata ?: any ;
228
+ metadata ?: unknown ;
229
229
}
230
230
231
231
/**
Original file line number Diff line number Diff line change @@ -688,7 +688,7 @@ namespace ts.server {
688
688
success,
689
689
} ;
690
690
if ( success ) {
691
- let metadata : any ;
691
+ let metadata : unknown ;
692
692
if ( isArray ( info ) ) {
693
693
res . body = info ;
694
694
metadata = ( info as WithMetadata < ReadonlyArray < any > > ) . metadata ;
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ namespace ts {
238
238
/* @internal */
239
239
export const emptyOptions = { } ;
240
240
241
- export type WithMetadata < T > = T & { metadata ?: any ; } ;
241
+ export type WithMetadata < T > = T & { metadata ?: unknown ; } ;
242
242
243
243
//
244
244
// Public services of a language service instance associated
Original file line number Diff line number Diff line change @@ -4689,7 +4689,7 @@ declare namespace ts {
4689
4689
writeFile ?( fileName : string , content : string ) : void ;
4690
4690
}
4691
4691
type WithMetadata < T > = T & {
4692
- metadata ?: any ;
4692
+ metadata ?: unknown ;
4693
4693
} ;
4694
4694
interface LanguageService {
4695
4695
cleanupSemanticCache ( ) : void ;
@@ -5793,7 +5793,7 @@ declare namespace ts.server.protocol {
5793
5793
/**
5794
5794
* Contains extra information that plugin can include to be passed on
5795
5795
*/
5796
- metadata ?: any ;
5796
+ metadata ?: unknown ;
5797
5797
}
5798
5798
/**
5799
5799
* Arguments for FileRequest messages.
Original file line number Diff line number Diff line change @@ -4689,7 +4689,7 @@ declare namespace ts {
4689
4689
writeFile ?( fileName : string , content : string ) : void ;
4690
4690
}
4691
4691
type WithMetadata < T > = T & {
4692
- metadata ?: any ;
4692
+ metadata ?: unknown ;
4693
4693
} ;
4694
4694
interface LanguageService {
4695
4695
cleanupSemanticCache ( ) : void ;
You can’t perform that action at this time.
0 commit comments