File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export const Parser = {
4848 }
4949 } ,
5050
51- decodePacket ( encodedPacket : RawData , binaryType ?: BinaryType ) : Packet {
51+ decodePacket ( encodedPacket : RawData , _binaryType ?: BinaryType ) : Packet {
5252 if ( typeof encodedPacket !== "string" ) {
5353 return {
5454 type : "message" ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class WS extends Transport {
4646 this . onPacket ( Parser . decodePacket ( message ) ) ;
4747 }
4848
49- public onCloseEvent ( code : number , message : string ) {
49+ public onCloseEvent ( _code : number , _message : string ) {
5050 debug ( "on close" ) ;
5151 this . onClose ( ) ;
5252 }
Original file line number Diff line number Diff line change 2525 "noImplicitOverride" : true ,
2626
2727 // Some stricter flags (disabled by default)
28- "noUnusedLocals" : false ,
29- "noUnusedParameters" : false ,
30- "noPropertyAccessFromIndexSignature" : false
28+ "noUnusedLocals" : true ,
29+ "noUnusedParameters" : true ,
30+ "noPropertyAccessFromIndexSignature" : true
3131 },
3232 "include" : [
3333 " ./lib/**/*"
You can’t perform that action at this time.
0 commit comments