Add RpcConfig type
Closed this issue · 0 comments
Janpot commented
next-rpc
should export a RpcConfig
type so that you can do something like:
import { RpcConfig } from 'next-rpc';
export const config: RpcConfig = {
rpc: true
};
That way we can enforce the structure at compile time and pave the way for adding extra configuration options.