Skip to content

Commit

Permalink
feat(types): Export type UseCompletionOptions (#1320)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmana authored Apr 10, 2024
1 parent 8e034bd commit 50b817f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/react/use-completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import {
UseCompletionOptions,
} from '../shared/types';

export type { UseCompletionOptions };

export type UseCompletionHelpers = {
/** The current completion result */
completion: string;
Expand Down
2 changes: 2 additions & 0 deletions packages/core/solid/use-completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import type {
UseCompletionOptions,
} from '../shared/types';

export type { UseCompletionOptions };

export type UseCompletionHelpers = {
/** The current completion result */
completion: Resource<string>;
Expand Down
2 changes: 2 additions & 0 deletions packages/core/svelte/use-completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import type {
UseCompletionOptions,
} from '../shared/types';

export type { UseCompletionOptions };

export type UseCompletionHelpers = {
/** The current completion result */
completion: Readable<string>;
Expand Down
2 changes: 2 additions & 0 deletions packages/core/vue/use-completion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import type {
UseCompletionOptions,
} from '../shared/types';

export type { UseCompletionOptions };

export type UseCompletionHelpers = {
/** The current completion result */
completion: Ref<string>;
Expand Down

0 comments on commit 50b817f

Please sign in to comment.