Skip to content

Commit b07087e

Browse files
committed
refactor: 优化播放器配置
1 parent e13197e commit b07087e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-flow-interface",
3-
"version": "0.17.16",
3+
"version": "0.17.17",
44
"description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
55
"type": "module",
66
"module": "dist/index.js",

src/api/service/main/internationalization/internationalization-service-api.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export default interface InternationalizationServiceApi {
2222
// 获取翻译器,wait为true则自动等待对应namespace加载成功
2323
getTranslator(namespace?: string, wait?: boolean): Promise<Translator>
2424

25-
// 通过字符串转换语言元组,不存在则返回undefined
26-
getLocaleByString(locale: string): Locale | undefined
27-
2825
// 监听messages变化
2926
subscribe(subscriber: NamespaceSubscriber): () => void
3027

0 commit comments

Comments
 (0)