Skip to content

Commit 4a9088d

Browse files
committed
fix: resolve typing error in parseStixBundle function
1 parent 2563ba4 commit 4a9088d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function parseStixBundle(rawData: StixBundle, parsingMode: ParsingMode): AttackO
201201
}
202202

203203
// Now process each object individually
204-
const objects = rawData.objects as AttackObject[];
204+
const objects = rawData.objects;
205205
for (let index = 0; index < objects.length; index++) {
206206
const obj = objects[index];
207207
let objParseResult: z.SafeParseReturnType<unknown, AttackObject> | null;

0 commit comments

Comments
 (0)