Skip to content

Commit 9f10c9f

Browse files
committed
Code review changes
1 parent 79c6103 commit 9f10c9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
type anyObject = {
2-
[key: string]: any,
3-
};
1+
export interface Params {
2+
[key: string]: string | number;
3+
}
44

5-
export default function interpolate(str: string, params: anyObject): string;
5+
export default function interpolate(str: string, params: Params): string;

0 commit comments

Comments
 (0)