提交 d5a44872 编写于 作者: 杜庆泉's avatar 杜庆泉

完善示例

上级 e3e69105
...@@ -170,7 +170,7 @@ export function testArray(): Result { ...@@ -170,7 +170,7 @@ export function testArray(): Result {
test("indexOf", () => { test("indexOf", () => {
let raw = {} let raw = {}
let arr = new Array() let arr = new Array<any>()
arr.push({}); arr.push({});
arr.push({}); arr.push({});
arr.push(raw); arr.push(raw);
...@@ -201,7 +201,7 @@ export function testArray(): Result { ...@@ -201,7 +201,7 @@ export function testArray(): Result {
test("lastIndexOf", () => { test("lastIndexOf", () => {
let raw = {} let raw = {}
let arr = new Array() let arr = new Array<any>()
arr.push({}); arr.push({});
arr.push({}); arr.push({});
arr.push(raw); arr.push(raw);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册