From 6be2dabff6c35fb79d85ba39b692c5d06cd53125 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 25 Mar 2020 06:50:09 +0900 Subject: Use typed completions on console --- src/console/actions/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/console/actions') diff --git a/src/console/actions/index.ts b/src/console/actions/index.ts index 3770496..d36f8cd 100644 --- a/src/console/actions/index.ts +++ b/src/console/actions/index.ts @@ -1,4 +1,5 @@ -// console commands +import Completions from "../Completions"; + export const CONSOLE_HIDE = 'console.hide'; export const CONSOLE_SHOW_COMMAND = 'console.show.command'; export const CONSOLE_SHOW_ERROR = 'console.show.error'; @@ -44,7 +45,7 @@ interface SetConsoleTextAction { interface SetCompletionsAction { type: typeof CONSOLE_SET_COMPLETIONS; - completions: any[]; + completions: Completions; completionSource: string; } -- cgit v1.2.3