Browse Source

Merge pull request #988 in VISUAL/fineui from ~TELLER/fineui:typescript to master

* commit '5be9c7e4c4ac291cebd79c56d4b2daa52fd99c30':
  KERNEL-801 feat: 输出BI
es6
Teller 5 years ago
parent
commit
c73984bb06
  1. 9
      .eslintrc
  2. 11
      typescript/index.ts

9
.eslintrc

@ -16,6 +16,15 @@
},
"plugins": ["@typescript-eslint"],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
// 声明
"no-use-before-define": "error",
//禁止定义前使用

11
typescript/index.ts

@ -0,0 +1,11 @@
import { _addI18n, _i18nText } from "./core/i18n";
import { _OB } from "./core/ob";
export declare module BI {
namespace i18n {
const addI18n: _addI18n;
const i18nText: _i18nText;
}
const OB: _OB;
}
Loading…
Cancel
Save