@types/slack-node
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -20,3 +20,3 @@ // Type definitions for slack-node v0.1 | ||
setWebhook(url: string): this; | ||
detectEmoji(emoji: string): { key: "icon_url" | "icon_emoji", val: string }; | ||
detectEmoji(emoji: string): { key: "icon_url" | "icon_emoji"; val: string }; | ||
webhook(options: Slack.WebhookOptions, callback: (err: any, response: Slack.WebhookResponse) => void): void; | ||
@@ -28,3 +28,2 @@ api(method: string, callback: (err: any, response: any) => void): this; | ||
declare namespace Slack { | ||
export interface WebhookOptions { | ||
@@ -31,0 +30,0 @@ icon_emoji?: string | undefined; |
{ | ||
"name": "@types/slack-node", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "TypeScript definitions for slack-node", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/slack-node", | ||
}, | ||
"typesPublisherContentHash": "a85a1c11c198091bef70808fda531a7d5a87404051898c3a73cac43489b8f656", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "4fa216c5358bdfe1f4a0b0a291171779ffb14bc1081be900f6acea4742196316", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -30,3 +30,3 @@ # Installation | ||
setWebhook(url: string): this; | ||
detectEmoji(emoji: string): { key: "icon_url" | "icon_emoji", val: string }; | ||
detectEmoji(emoji: string): { key: "icon_url" | "icon_emoji"; val: string }; | ||
webhook(options: Slack.WebhookOptions, callback: (err: any, response: Slack.WebhookResponse) => void): void; | ||
@@ -38,3 +38,2 @@ api(method: string, callback: (err: any, response: any) => void): this; | ||
declare namespace Slack { | ||
export interface WebhookOptions { | ||
@@ -63,3 +62,3 @@ icon_emoji?: string | undefined; | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 16:34:56 GMT | ||
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT | ||
* Dependencies: [@types/request](https://npmjs.com/package/@types/request) | ||
@@ -66,0 +65,0 @@ * Global values: none |
5493
66