提交 8f688a4c 编写于 作者: R Rob Lourens

Fix strict null check

上级 30cabe9b
......@@ -116,7 +116,7 @@ suite('RipgrepTextSearchEngine', () => {
function testParser(inputData: string[], expectedResults: TextSearchResult[]): void {
const testParser = new RipgrepParser(1000, TEST_FOLDER.fsPath);
const actualResults = [];
const actualResults: TextSearchResult[] = [];
testParser.on('result', r => {
actualResults.push(r);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册