Skip to content

Conversation

@callmewa
Copy link

@callmewa callmewa commented Mar 4, 2020

wanted to use this for my typescript project and saw the previous PR stalled.

@callmewa
Copy link
Author

callmewa commented Mar 4, 2020

if you would like to use this lib without using // @ts-ignore simply add the following to your types file ie types.d.ts

declare module 'randomatic' {
	export default function randomatic(pattern: string, length?: number, options?: { chars?: string, exclude?: string | string[] }) : string
}

@wojciechbator
Copy link

wojciechbator commented Mar 6, 2020

@jonschlinkert
can You merge it? I'd like to switch my current random password generator to Yours and one thing that handles me a bit is lack of the typescript support :)

@jonschlinkert
Copy link
Owner

jonschlinkert commented Mar 6, 2020 via email

@sethlivingston
Copy link

  • bump *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants