Skip to content

Commit

Permalink
Merge pull request #7 from immobiliare/next
Browse files Browse the repository at this point in the history
fix: fixed insert type
  • Loading branch information
antoniomuso authored Oct 27, 2022
2 parents ec3f1df + 299b177 commit caf2bcc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ export interface RadixRouter<T extends RadixNodeData = RadixNodeData> {
* @param data - the associated data to path
*
*/
insert(
path: string,
data: T,
funcs?: { [key: string]: ((str: string) => boolean) | undefined }
): void;
insert(path: string, data: T): void;

/**
* Perform a remove on the tree
Expand Down

0 comments on commit caf2bcc

Please sign in to comment.