After upgrading boardgame.io from 0.39.9 to 0.39.12, I get this typescript error when calling Local() without arguments: local.d.ts(81, 31): An argument for 'opts' was not provided.
Looking into the source code, I guess that the opts just needs to be made optional. Also the function seems to check for undefined opts so nothing should break if the argument is not provided.
After upgrading
boardgame.io
from 0.39.9 to 0.39.12, I get this typescript error when callingLocal()
without arguments:local.d.ts(81, 31): An argument for 'opts' was not provided.
Looking into the source code, I guess that the
opts
just needs to be made optional. Also the function seems to check for undefinedopts
so nothing should break if the argument is not provided.