Skip to content

Commit

Permalink
FIX: #20
Browse files Browse the repository at this point in the history
  • Loading branch information
folkvir committed Mar 7, 2021
1 parent d50fa99 commit 562b51f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/base-filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,20 @@ export default abstract class BaseFilter {
get random (): () => number {
return this._rng
}

/**
* Save the current structure as a JSON object
*/
saveAsJSON() {
throw new Error('Not Implemented')
}

/**
* Load an Object from a provided JSON object
* @param json the JSON object to load
* @return Return the Object loaded from the provided JSON object
*/
fromJSON(json: any) {
throw new Error('Not Implemented')
}
}

0 comments on commit 562b51f

Please sign in to comment.