Skip to content

Commit

Permalink
TEST. DO NOT SUBMIT.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelgj authored Jun 20, 2024
1 parent 82948e8 commit 89ead5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/ai/src/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import JSON5 from 'json5';

/**
* Extracts JSON from string with lenient parsing rules to improve likelihood of successful extraction.
* TEST. DO NOT SUBMIT.
*/
export function extractJson<T = unknown>(text: string): T | null {
let openingChar: '{' | '[' | undefined;
Expand Down

0 comments on commit 89ead5b

Please sign in to comment.