feat: 格式化代码 添加d.ts文件 去除引擎无关代码 清理单元测试
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
* 补丁和方法扩展
|
||||
*/
|
||||
(function () {
|
||||
// noinspection JSUnresolvedVariable
|
||||
if (!Array.prototype.copyPartialMatches) {
|
||||
Object.defineProperty(Array.prototype, "copyPartialMatches", {
|
||||
enumerable: false,
|
||||
@ -10,7 +11,7 @@
|
||||
if (e.toLowerCase().startsWith(token.toLowerCase())) {
|
||||
array.push(e)
|
||||
}
|
||||
})
|
||||
});
|
||||
return array
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user