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 */ |   /** Client's presence. Startup one if set before connecting */ | ||||||
|   presence: ClientPresence = new ClientPresence() |   presence: ClientPresence = new ClientPresence() | ||||||
| 
 | 
 | ||||||
|   private _untypedOn = this.on |   // private _untypedOn = this.on
 | ||||||
|   private _untypedEmit = this.emit |   // private _untypedEmit = this.emit
 | ||||||
|   public on = <K extends string>(event: K, listener: ClientEvents[K]): this => |   // public on = <K extends string>(event: K, listener: ClientEvents[K]): this =>
 | ||||||
|     this._untypedOn(event, listener) |   //   this._untypedOn(event, listener)
 | ||||||
|   public emit = <K extends string>( |   // public emit = <K extends string>(
 | ||||||
|     event: K, |   //   event: K,
 | ||||||
|     ...args: Parameters<ClientEvents[K]> |   //   ...args: Parameters<ClientEvents[K]>
 | ||||||
|   ): boolean => this._untypedEmit(event, ...args) |   // ): boolean => this._untypedEmit(event, ...args)
 | ||||||
| 
 | 
 | ||||||
|   constructor(options: ClientOptions = {}) { |   constructor(options: ClientOptions = {}) { | ||||||
|     super() |     super() | ||||||
|  |  | ||||||
|  | @ -1 +1,2 @@ | ||||||
| export const TOKEN = '' | export const TOKEN = '' | ||||||
|  | export const WEBHOOK = '' | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue