@@ -618,7 +618,7 @@ declare class crypto$Hash extends stream$Duplex {
618618 data : string | Buffer ,
619619 input_encoding ? : 'utf8' | 'ascii' | 'latin1' | 'binary' ,
620620 ) : crypto$Hash ;
621- copy ( options ? : mixed ) : crypto$Hash ;
621+ copy ( options ? : unknown ) : crypto$Hash ;
622622}
623623
624624declare class crypto$Hmac extends stream$Duplex {
@@ -703,7 +703,7 @@ declare class crypto$KeyObject {
703703 format : 'der' ,
704704 } > ,
705705 ) : Buffer ;
706- export ( options : Readonly < { format : 'jwk' } > ) : mixed ;
706+ export ( options : Readonly < { format : 'jwk' } > ) : unknown ;
707707 equals ( otherKeyObject : crypto$KeyObject ) : boolean ;
708708}
709709
@@ -739,7 +739,7 @@ declare class crypto$X509Certificate {
739739 checkIssued ( otherCert : crypto$X509Certificate ) : boolean ;
740740 checkPrivateKey ( privateKey : crypto$KeyObject ) : boolean ;
741741 toJSON ( ) : string ;
742- toLegacyObject ( ) : mixed ;
742+ toLegacyObject ( ) : unknown ;
743743 toString ( ) : string ;
744744 verify ( publicKey : crypto$KeyObject ) : boolean ;
745745}
@@ -930,10 +930,10 @@ declare module 'crypto' {
930930 encoding : buffer$Encoding ,
931931 ) : crypto$KeyObject ;
932932 declare function createPublicKey (
933- key : string | Buffer | crypto$KeyObject | mixed ,
933+ key : string | Buffer | crypto$KeyObject | unknown ,
934934 ) : crypto$KeyObject ;
935935 declare function createPrivateKey (
936- key : string | Buffer | mixed ,
936+ key : string | Buffer | unknown ,
937937 ) : crypto$KeyObject ;
938938 declare function generateKeyPair (
939939 type :
@@ -945,7 +945,7 @@ declare module 'crypto' {
945945 | 'ed448 '
946946 | 'x25519 '
947947 | 'x448 ',
948- options : mixed ,
948+ options : unknown ,
949949 callback : (
950950 err : ?Error ,
951951 publicKey : crypto$KeyObject ,
@@ -962,7 +962,7 @@ declare module 'crypto' {
962962 | 'ed448 '
963963 | 'x25519 '
964964 | 'x448 ',
965- options : mixed ,
965+ options : unknown ,
966966 ) : { publicKey : crypto$KeyObject , privateKey : crypto$KeyObject , ...} ;
967967 declare function generateKey(
968968 type: 'hmac' | 'aes',
@@ -2011,8 +2011,8 @@ declare module 'fs' {
20112011 | Buffer
20122012 | Uint8Array
20132013 | DataView
2014- | AsyncIterable < mixed >
2015- | Iterable < mixed >
2014+ | AsyncIterable < unknown >
2015+ | Iterable < unknown >
20162016 | stream$Readable ,
20172017 options : WriteOptions | string ,
20182018 ) => Promise < void > ;
@@ -2908,17 +2908,19 @@ declare module 'perf_hooks' {
29082908 + entryType : EntryType ;
29092909 + name : string ;
29102910 + startTime : number ;
2911- + detail ?: mixed ;
2912- toJSON ( ) : mixed ;
2911+ + detail ?: unknown ;
2912+ toJSON ( ) : unknown ;
29132913 }
29142914
2915- declare export class PerformanceMark < T = mixed > extends PerformanceEntry {
2915+ declare export class PerformanceMark < T = unknown > extends PerformanceEntry {
29162916 + entryType : 'mark' ;
29172917 + duration : 0 ;
29182918 + detail ?: T ;
29192919 }
29202920
2921- declare export class PerformanceMeasure < T = mixed > extends PerformanceEntry {
2921+ declare export class PerformanceMeasure < T = unknown >
2922+ extends PerformanceEntry
2923+ {
29222924 + entryType : 'measure' ;
29232925 + detail ?: T ;
29242926 }
@@ -2987,12 +2989,12 @@ declare module 'perf_hooks' {
29872989 + active : number ,
29882990 } ;
29892991
2990- declare export type PerformanceMarkOptions< T = mixed > = Readonly< {
2992+ declare export type PerformanceMarkOptions< T = unknown > = Readonly< {
29912993 detail ? : T ,
29922994 startTime ? : number ,
29932995 } > ;
29942996
2995- declare export type PerformanceMeasureOptions < T = mixed > = Readonly < {
2997+ declare export type PerformanceMeasureOptions < T = unknown > = Readonly < {
29962998 detail ?: T ,
29972999 duration ?: number ,
29983000 end ?: number | string ,
@@ -3023,11 +3025,11 @@ declare module 'perf_hooks' {
30233025 now ( ) : number ;
30243026 setResourceTimingBufferSize ( maxSize : number ) : void ;
30253027 + timeOrigin : number ;
3026- timerify < TArgs : Iterable < mixed > , TReturn > (
3028+ timerify < TArgs : Iterable < unknown > , TReturn > (
30273029 fn : ( ...TArgs ) = > TReturn ,
30283030 options ?: Readonly < { histogram ?: RecordableHistogram } > ,
30293031 ) : ( ...TArgs ) => TReturn ;
3030- toJSON ( ) : mixed ;
3032+ toJSON ( ) : unknown ;
30313033 }
30323034
30333035 declare export var performance : Performance ;
@@ -3720,20 +3722,20 @@ declare module 'timers' {
37203722 // [key: $SymbolDispose]: () => void;
37213723 }
37223724
3723- declare export function setTimeout < TArgs : Iterable < mixed >> (
3724- callback : ( ...args : TArgs ) = > mixed ,
3725+ declare export function setTimeout < TArgs : Iterable < unknown >> (
3726+ callback : ( ...args : TArgs ) = > unknown ,
37253727 delay ? : number ,
37263728 ...args : TArgs
37273729 ) : Timeout ;
37283730
3729- declare export function setInterval < TArgs : Iterable < mixed > > (
3730- callback : ( ...args : TArgs ) = > mixed ,
3731+ declare export function setInterval < TArgs : Iterable < unknown > > (
3732+ callback : ( ...args : TArgs ) = > unknown ,
37313733 delay ? : number ,
37323734 ...args : TArgs
37333735 ) : Timeout ;
37343736
3735- declare export function setImmediate < TArgs : Iterable < mixed > > (
3736- callback : ( ...args : TArgs ) = > mixed ,
3737+ declare export function setImmediate < TArgs : Iterable < unknown > > (
3738+ callback : ( ...args : TArgs ) = > unknown ,
37373739 ...args : TArgs
37383740 ) : Immediate ;
37393741
0 commit comments