Skip to content

Commit 112a7c9

Browse files
author
Sacha Dolski
authored
fix: removing static modifiers (#151)
1 parent 5d9bc52 commit 112a7c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/jsonpath.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,14 @@ declare module 'jsonpath-plus' {
146146
* Exposes the cache object for those who wish to preserve and reuse
147147
* it for optimization purposes.
148148
*/
149-
static cache: any
149+
cache: any
150150

151151
/**
152152
* Accepts a normalized or unnormalized path as string and
153153
* converts to an array: for example,
154154
* `['$', 'aProperty', 'anotherProperty']`.
155155
*/
156-
static toPathArray(path: string): string[]
156+
toPathArray(path: string): string[]
157157

158158
/**
159159
* Accepts a path array and converts to a normalized path string.
@@ -162,7 +162,7 @@ declare module 'jsonpath-plus' {
162162
* The JSONPath terminal constructions `~` and `^` and type operators
163163
* like `@string()` are silently stripped.
164164
*/
165-
static toPathString(path: string[]): string
165+
toPathString(path: string[]): string
166166

167167
/**
168168
* Accepts a path array and converts to a JSON Pointer.
@@ -174,7 +174,7 @@ declare module 'jsonpath-plus' {
174174
* The JSONPath terminal constructions `~` and `^` and type operators
175175
* like `@string()` are silently stripped.
176176
*/
177-
static toPointer(path: string[]): any
177+
toPointer(path: string[]): any
178178

179179
evaluate(
180180
path: JSONPathOptions['path'],

0 commit comments

Comments
 (0)