Skip to content

Commit 3e146f7

Browse files
committed
chore: update types
1 parent 5658994 commit 3e146f7

40 files changed

Lines changed: 172 additions & 116 deletions

‎dist/Safe-Script.d.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,12 @@ export class SafeScript {
2323
*/
2424
runInNewContext(context: object): EvaluatedResult;
2525
}
26+
/**
27+
* Guarded `obj[prop]`, applying the same restrictions as a MemberExpression.
28+
* @param {UnknownResult} obj
29+
* @param {string} prop
30+
* @returns {UnknownResult}
31+
*/
32+
export function getSafeProperty(obj: UnknownResult, prop: string): UnknownResult;
2633
import type { UnknownResult } from './jsonpath.js';
2734
import type { EvaluatedResult } from './jsonpath.js';

‎docs/ts/assets/navigation.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/ts/assets/search.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)