From 54cc3b12705f7f942f26ccfc8b5dbe6200b382da Mon Sep 17 00:00:00 2001 From: Sacha Dolski Date: Fri, 9 Apr 2021 10:54:47 +0200 Subject: [PATCH] fix: removing static modifiers --- src/jsonpath.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jsonpath.d.ts b/src/jsonpath.d.ts index dff2290..109bc9a 100644 --- a/src/jsonpath.d.ts +++ b/src/jsonpath.d.ts @@ -146,14 +146,14 @@ declare module 'jsonpath-plus' { * Exposes the cache object for those who wish to preserve and reuse * it for optimization purposes. */ - static cache: any + cache: any /** * Accepts a normalized or unnormalized path as string and * converts to an array: for example, * `['$', 'aProperty', 'anotherProperty']`. */ - static toPathArray(path: string): string[] + toPathArray(path: string): string[] /** * Accepts a path array and converts to a normalized path string. @@ -162,7 +162,7 @@ declare module 'jsonpath-plus' { * The JSONPath terminal constructions `~` and `^` and type operators * like `@string()` are silently stripped. */ - static toPathString(path: string[]): string + toPathString(path: string[]): string /** * Accepts a path array and converts to a JSON Pointer. @@ -174,7 +174,7 @@ declare module 'jsonpath-plus' { * The JSONPath terminal constructions `~` and `^` and type operators * like `@string()` are silently stripped. */ - static toPointer(path: string[]): any + toPointer(path: string[]): any evaluate( path: JSONPathOptions['path'],