Last active
March 9, 2018 12:58
-
-
Save Razzwan/388927c0bc08f12c7342af5267dfdd14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component() | |
export class MeService { | |
constructor() {} | |
async someMethod(user, data) { | |
// documented by sequelize, familiar to anyone who has read the library's documentation | |
await user.$create<UserOneSignal>('oneSignal', data); | |
} | |
async reusageInSecondPlace(user, data) { | |
// documented by sequelize, familiar to anyone who has read the library's documentation | |
await user.$create<UserOneSignal>('oneSignal', data); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment