Skip to content

Instantly share code, notes, and snippets.

@mackignacio
Last active August 25, 2020 19:00
Show Gist options
  • Save mackignacio/a30c285fae14a50cdb5986b515a9a55e to your computer and use it in GitHub Desktop.
Save mackignacio/a30c285fae14a50cdb5986b515a9a55e to your computer and use it in GitHub Desktop.
import { Injectable } from "@mayajs/core";
@Injectable() // This decorator allows this class to be injected on other modules
export class SampleServices {
constructor( // Inject other services here) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment