Skip to content

Commit

Permalink
Merge pull request #4 from FrankHassanabad/fix-for-type
Browse files Browse the repository at this point in the history
Fixes type error for newer TypeScript
  • Loading branch information
mshustov authored Jun 10, 2020
2 parents babcc16 + 37e3263 commit cf62228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/detection_engine_api_integration/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export const getSimpleRuleAsNdjson = (ruleIds: string[]): Buffer => {
* testing upload features.
* @param rule The rule to convert to ndjson
*/
export const ruleToNdjson = (rule: Partial<RulesSchema>): Buffer => {
export const ruleToNdjson = (rule: Partial<CreateRulesSchema>): Buffer => {
const stringified = JSON.stringify(rule);
return Buffer.from(`${stringified}\n`);
};
Expand Down

0 comments on commit cf62228

Please sign in to comment.