Skip to content

Commit

Permalink
fix: removing static modifiers (JSONPath-Plus#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha Dolski authored Apr 9, 2021
1 parent 5d9bc52 commit 112a7c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jsonpath.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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'],
Expand Down

0 comments on commit 112a7c9

Please sign in to comment.