Skip to content

Commit 79bc5ad

Browse files
author
Bill Barnes
committed
Create declarations automatically, not manually
1 parent 0b4cc41 commit 79bc5ad

5 files changed

Lines changed: 5 additions & 226 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you're currently using WebChat, you don't need to make any changes as it incl
1414

1515
### *What is that funny `subscribe()` method in the samples below?*
1616

17-
Instead of callbacks or Promises, this library handles async operations using the Observable pattern. Try it, you'll like it. For more information, check out [RxJS](https://github.com/reactivex/rxjs/).
17+
Instead of callbacks or Promises, this library handles async operations using the Observables. Try it, you'll like it! For more information, check out [RxJS](https://github.com/reactivex/rxjs/).
1818

1919
### *Can I use [TypeScript](http://www.typescriptlang.com)?*
2020

@@ -30,7 +30,7 @@ That said, the public API is still subject to change.
3030

3131
0. Clone this repo
3232
1. `npm install`
33-
2. `npm run build` (or `npm run watch` to rebuild on every change)
33+
2. `npm run build` (or `npm run watch` to rebuild on every change, or `npm run prepublish` to build production)
3434

3535
## How to include in your app
3636

directLine.d.ts

Lines changed: 0 additions & 221 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "botframework-directlinejs",
3-
"version": "0.8.4",
3+
"version": "0.9.0",
44
"description": "client library for the Microsoft Bot Framework Direct Line 3.0 protocol",
55
"main": "built/directLine.js",
6-
"types": "directLine.d.ts",
6+
"types": "built/directLine.d.ts",
77
"scripts": {
88
"build": "tsc && webpack",
99
"watch": "npm-run-all -p -r -l tsc-watch webpack-watch",

src/directLine.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ const konsole = {
245245
export interface IBotConnection {
246246
connectionStatus$: BehaviorSubject<ConnectionStatus>,
247247
activity$: Observable<Activity>,
248-
reconnect(conversation: Conversation): void,
249248
end(): void,
250249
postActivity(activity: Activity): Observable<string>
251250
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"compilerOptions": {
3+
"declaration": true,
34
"lib": [
45
"dom",
56
"es2017"

0 commit comments

Comments
 (0)