Skip to content

Commit 3e7e756

Browse files
committed
fix: 🐛 Interface name
1 parent 0870dee commit 3e7e756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
interface IIsPwnedConfig {
1+
interface IsPwnedConfig {
22
endpoint?: string;
33
timeout?: number;
44
userAgent?: string;
@@ -212,7 +212,7 @@ export default class IsPwned {
212212
timeout: number;
213213
resolveOnTimeout: boolean;
214214

215-
constructor(config: IIsPwnedConfig = {}) {
215+
constructor(config: IsPwnedConfig = {}) {
216216
if (typeof window === 'undefined') {
217217
throw new Error('IsPwned is meant for use in the browser only.');
218218
}

0 commit comments

Comments
 (0)