Skip to content

Commit

Permalink
Generate passwordless.d.ts types (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
abergs authored Nov 7, 2024
1 parent d801c21 commit 787268a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
];
2 changes: 2 additions & 0 deletions src/passwordless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import {
TokenResponse
} from './types';

export * from './types';

export interface Config {
apiUrl: string;
apiKey: string;
Expand Down

0 comments on commit 787268a

Please sign in to comment.