feat(jsdoc): test fix for deno doc
This commit is contained in:
		
							parent
							
								
									66dbd7889c
								
							
						
					
					
						commit
						4858bde6bc
					
				
					 2 changed files with 10 additions and 9 deletions
				
			
		|  | @ -75,14 +75,14 @@ export class Client extends EventEmitter { | |||
|   /** Client's presence. Startup one if set before connecting */ | ||||
|   presence: ClientPresence = new ClientPresence() | ||||
| 
 | ||||
|   private _untypedOn = this.on | ||||
|   private _untypedEmit = this.emit | ||||
|   public on = <K extends string>(event: K, listener: ClientEvents[K]): this => | ||||
|     this._untypedOn(event, listener) | ||||
|   public emit = <K extends string>( | ||||
|     event: K, | ||||
|     ...args: Parameters<ClientEvents[K]> | ||||
|   ): boolean => this._untypedEmit(event, ...args) | ||||
|   // private _untypedOn = this.on
 | ||||
|   // private _untypedEmit = this.emit
 | ||||
|   // public on = <K extends string>(event: K, listener: ClientEvents[K]): this =>
 | ||||
|   //   this._untypedOn(event, listener)
 | ||||
|   // public emit = <K extends string>(
 | ||||
|   //   event: K,
 | ||||
|   //   ...args: Parameters<ClientEvents[K]>
 | ||||
|   // ): boolean => this._untypedEmit(event, ...args)
 | ||||
| 
 | ||||
|   constructor(options: ClientOptions = {}) { | ||||
|     super() | ||||
|  |  | |||
|  | @ -1 +1,2 @@ | |||
| export const TOKEN = '' | ||||
| export const TOKEN = '' | ||||
| export const WEBHOOK = '' | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue