diff --git a/index.ts b/index.ts index cd5ea08..f32a215 100644 --- a/index.ts +++ b/index.ts @@ -36,10 +36,10 @@ export type TypedPathWrapper; } & { - [P in keyof RET]: TypedPathWrapper; + [P in keyof Required]: TypedPathWrapper; } : { - [P in keyof T]: TypedPathWrapper; + [P in keyof Required]: TypedPathWrapper; } ) & TypedPathHandlers; diff --git a/tsconfig.json b/tsconfig.json index d7bc2bf..11758ab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ }, "compileOnSave": false, "files": [ - "index.ts" + "index.ts", + "index.spec.ts" ] } \ No newline at end of file