diff --git a/index.d.ts b/index.d.ts index 2487aab..8a24823 100644 --- a/index.d.ts +++ b/index.d.ts @@ -77,4 +77,4 @@ // declare const Sift: Sift; // export default Sift; -export * from "./core"; +export * from "./lib/core"; diff --git a/tsconfig.json b/tsconfig.json index 7e68753..142bcb2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "target": "es5", "moduleResolution": "node", "module": "commonjs", + "declaration": true, "allowSyntheticDefaultImports": true }, "exclude": ["node_modules", "*-test", "lib", "index.d.ts", "test"],