Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript导入富媒体消息插件报错 #611

Open
wpcfan opened this issue Jul 16, 2019 · 5 comments
Open

Typescript导入富媒体消息插件报错 #611

wpcfan opened this issue Jul 16, 2019 · 5 comments
Assignees
Labels

Comments

@wpcfan
Copy link

wpcfan commented Jul 16, 2019

在浏览器 typescript 环境下按 API 文档导入会提示错误,请问正确的插件加载方式是怎样的

image

@wpcfan wpcfan changed the title 如何导入富媒体消息插件 Typescript导入富媒体消息插件报错 Jul 16, 2019
@leeyeh
Copy link
Contributor

leeyeh commented Jul 16, 2019

import { TypedMessagesPlugin } from 'leancloud-realtime-plugin-typed-messages';

@wpcfan
Copy link
Author

wpcfan commented Jul 17, 2019

leancloud-realtime-plugin-typed-messages 这个包没有类型定义吗

@leeyeh
Copy link
Contributor

leeyeh commented Jul 17, 2019

有道理,我加一下。

@hzuhyb
Copy link

hzuhyb commented Sep 2, 2020

@leeyeh Does 'leancloud-realtime-plugin-typed-messages' already support typescript?

@leeyeh
Copy link
Contributor

leeyeh commented Sep 3, 2020

Not yet.

@leeyeh leeyeh added the bug label Sep 3, 2020
@leeyeh leeyeh self-assigned this Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants