gas-client
Version:
A client-side utility class that can call server-side Google Apps Script functions
12 lines (8 loc) • 323 B
text/typescript
import { FunctionMap, ServerFunctions } from '../types/functions';
abstract class FunctionProvider<FM extends FunctionMap> {
protected _serverFunctions: ServerFunctions<FM> = {} as ServerFunctions<FM>;
get serverFunctions(): ServerFunctions<FM> {
return this._serverFunctions;
}
}
export { FunctionProvider };