Skip to content

Commit 787268a

Browse files
authored
Generate passwordless.d.ts types (#88)
1 parent d801c21 commit 787268a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

rollup.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ export default [
5454
]
5555
},
5656
{
57-
input: 'src/types.ts',
57+
input: 'src/passwordless.ts',
5858
plugins: [dts()],
5959
output: {
60-
file: 'dist/types.d.ts'
60+
file: 'dist/passwordless.d.ts'
6161
}
6262
}
6363
];

src/passwordless.ts

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import {
88
TokenResponse
99
} from './types';
1010

11+
export * from './types';
12+
1113
export interface Config {
1214
apiUrl: string;
1315
apiKey: string;

0 commit comments

Comments
 (0)