diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-18 18:45:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-18 18:45:58 +0900 |
| commit | ea9aeef9d8790db51c59a99927cd47ea9423be88 (patch) | |
| tree | ec525a4eba3e6eb002cdfd9d6dee294a5533255d /packages/client/src/scripts/hpml | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | sharkey-ea9aeef9d8790db51c59a99927cd47ea9423be88.tar.gz sharkey-ea9aeef9d8790db51c59a99927cd47ea9423be88.tar.bz2 sharkey-ea9aeef9d8790db51c59a99927cd47ea9423be88.zip | |
refactor(client): refactor dialog functions to improve type inference
Diffstat (limited to 'packages/client/src/scripts/hpml')
| -rw-r--r-- | packages/client/src/scripts/hpml/evaluator.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/client/src/scripts/hpml/evaluator.ts b/packages/client/src/scripts/hpml/evaluator.ts index 20261d333d..6329c0860e 100644 --- a/packages/client/src/scripts/hpml/evaluator.ts +++ b/packages/client/src/scripts/hpml/evaluator.ts @@ -39,9 +39,8 @@ export class Hpml { }), ...initAiLib(this)}, { in: (q) => { return new Promise(ok => { - os.dialog({ + os.inputText({ title: q, - input: {} }).then(({ canceled, result: a }) => { ok(a); }); |