Function createNetworkConfig
- createNetworkConfig<const T, Config, Variables>(networkConfig): {
networkConfig: T;
useNetworkConfig: (() => Config);
useNetworkVariable: (<K>(name: K) => Variables[K]);
useNetworkVariables: (() => Variables);
} Returns {
networkConfig: T;
useNetworkConfig: (() => Config);
useNetworkVariable: (<K>(name: K) => Variables[K]);
useNetworkVariables: (() => Variables);
}
networkConfig: T
useNetworkConfig: (() => Config)
useNetworkVariable: (<K>(name: K) => Variables[K])
- <K>(name): Variables[K]
Type Parameters
- K extends string | number | symbol
useNetworkVariables: (() => Variables)