diff --git a/rollup.config.js b/rollup.config.js index 85853f8..5e86d24 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -54,10 +54,10 @@ export default [ ] }, { - input: 'src/types.ts', + input: 'src/passwordless.ts', plugins: [dts()], output: { - file: 'dist/types.d.ts' + file: 'dist/passwordless.d.ts' } } ]; diff --git a/src/passwordless.ts b/src/passwordless.ts index cd78290..7eb136c 100644 --- a/src/passwordless.ts +++ b/src/passwordless.ts @@ -8,6 +8,8 @@ import { TokenResponse } from './types'; +export * from './types'; + export interface Config { apiUrl: string; apiKey: string;