refactor to const

This commit is contained in:
2017-10-26 15:24:10 +02:00
parent 4a94ce3038
commit 235f380139
19 changed files with 48 additions and 41 deletions

View File

@ -1,6 +1,6 @@
import * as plugins from './smartstring.plugins'
export let createRandomString = (
export const createRandomString = (
patternArg: string,
lengthArg: number,
optionsArg: any
@ -8,6 +8,6 @@ export let createRandomString = (
return plugins.randomatic(patternArg, lengthArg, optionsArg)
}
export let createCryptoRandomString = (lengthArg): string => {
export const createCryptoRandomString = (lengthArg): string => {
return plugins.cryptoRandomString(lengthArg)
}