Skip to content

Instantly share code, notes, and snippets.

@nicu-chiciuc
Last active October 20, 2019 12:46
Show Gist options
  • Save nicu-chiciuc/e1022996ef23b08066f5edf2fb628efb to your computer and use it in GitHub Desktop.
Save nicu-chiciuc/e1022996ef23b08066f5edf2fb628efb to your computer and use it in GitHub Desktop.
import {
ValidatedMethod,
ValidatedMethodAsFunc
} from "meteor/mdg:validated-method";
import { getRandomNumber } from "./api/methods/getRandomNumber";
import { getStringLength } from "./api/methods/getStringLength";
type KnownMethods = ValidatedMethodAsFunc<typeof getRandomNumber> &
ValidatedMethodAsFunc<typeof getStringLength>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment