Skip to content

Commit

Permalink
fix: Typescript entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
aholstenson committed Sep 28, 2019
1 parent 0b3bd91 commit a91f35b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/index.js → src/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { Language } from './language/language';

import { IntentsBuilder } from './intents';
import { ActionsBuilder } from './actions';

export * from './intents';
export * from './actions';

export function intentsBuilder(lang) {
export function intentsBuilder(lang: Language) {
return new IntentsBuilder(lang);
}

export function actionsBuilder(lang) {
export function actionsBuilder(lang: Language) {
return new ActionsBuilder(lang);
}

0 comments on commit a91f35b

Please sign in to comment.