Skip to content

Commit

Permalink
fixed default export issue
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-taran committed Nov 2, 2018
1 parent a74107a commit c7ce813
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
3 changes: 1 addition & 2 deletions autocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ export interface AutocompleteSettings<T extends AutocompleteItem> {
export interface AutocompleteResult {
destroy: () => void;
}
declare function autocomplete<T extends AutocompleteItem>(settings: AutocompleteSettings<T>): AutocompleteResult;
export default autocomplete;
export default function autocomplete<T extends AutocompleteItem>(settings: AutocompleteSettings<T>): AutocompleteResult;
11 changes: 6 additions & 5 deletions autocomplete.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c7ce813

Please sign in to comment.