type issue

This commit is contained in:
Bel Curcio 2022-07-05 11:27:26 +02:00
parent 9dadd688b0
commit 03e1380b84

View File

@ -6,7 +6,7 @@ const requireConfig = <T>(isomorphicConfig: T, key: keyof T) => {
if (typeof valueUnderKey === 'undefined') { if (typeof valueUnderKey === 'undefined') {
throw new MissingConfigurationValueError( throw new MissingConfigurationValueError(
`Value for configuration key ${key} was undefined.` `Value for configuration key ${key.toString()} was undefined.`
) )
} }