fix typescript test

This commit is contained in:
Umur Ozkul 2022-06-23 03:54:37 +02:00
parent ac9a468aa6
commit 7b2c16d90f

View File

@ -151,7 +151,7 @@ let evaluatePartialUsingExternalBindings = (
code, code,
) )
switch rAnswer { switch rAnswer {
| Ok(EvRecord(externalBindings)) => Ok(externalBindings) | Ok(EvModule(externalBindings)) => Ok(externalBindings)
| Ok(_) => | Ok(_) =>
Error(Reducer_ErrorValue.RESyntaxError(`Partials must end with an assignment or record`)) Error(Reducer_ErrorValue.RESyntaxError(`Partials must end with an assignment or record`))
| Error(err) => err->Error | Error(err) => err->Error