Comparing version 1.0.4 to 1.0.5
@@ -1,2 +0,8 @@ | ||
declare function jetPaths<T>(pathObj: T, baseKey?: string): T; | ||
type TObject = { | ||
[key: string]: string | TObject; | ||
}; | ||
type Deep<T extends {}> = T extends string ? string : { | ||
[K in keyof T]: Deep<T[K]>; | ||
}; | ||
declare function jetPaths<T extends TObject>(pathObj: T, baseKey?: string): Deep<T>; | ||
export default jetPaths; |
{ | ||
"name": "jet-paths", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Preprend strings in an object with the value from a base-key.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
5702
28